Files
zeekay d634ba9cb8 Name the objects these patches actually target
The bases they build on create hanzocd-prefixed objects, so the patches matched
nothing and the deployment-mode overlay would not build.
2026-09-05 01:11:41 -07:00

30 lines
824 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: hanzocd-server
spec:
replicas: 2
template:
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
app.kubernetes.io/name: hanzocd-server
topologyKey: kubernetes.io/hostname
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: hanzocd-server
topologyKey: topology.kubernetes.io/zone
containers:
- name: hanzocd-server
env:
- name: CD_API_SERVER_REPLICAS
value: '2'
args:
- /usr/local/bin/hanzocd-server