steward_mirror/kube/steward_deployment.yaml
Andrew Ridgway 260720dd10
chore: add Kubernetes deployment manifests and Gitea Actions build workflow
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>
2026-08-18 21:37:53 +10:00

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