Mirror the pr_reviewer deployment pattern: Gitea Actions builds a multi-arch image in the gitea-runner namespace, pushes to git.aridgwayweb.com, recreates the steward namespace with regcred + env secret, and applies kube manifests. Add .omo/ to .gitignore. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: steward-deployment
|
|
labels:
|
|
app: steward
|
|
namespace: steward
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: steward
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: steward
|
|
spec:
|
|
containers:
|
|
- name: steward
|
|
image: git.aridgwayweb.com/armistace/steward:latest
|
|
envFrom:
|
|
- secretRef:
|
|
name: steward-env
|
|
env:
|
|
- name: THREAD_MEMORY_PATH
|
|
value: /data/thread_memory.json
|
|
volumeMounts:
|
|
- name: steward-data
|
|
mountPath: /data
|
|
resources:
|
|
requests:
|
|
memory: "256Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "1Gi"
|
|
cpu: "500m"
|
|
volumes:
|
|
- name: steward-data
|
|
persistentVolumeClaim:
|
|
claimName: steward-storage
|
|
imagePullSecrets:
|
|
- name: regcred
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: steward-storage
|
|
namespace: steward
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
storageClassName: longhorn
|
|
resources:
|
|
requests:
|
|
storage: 1Gi
|