mirror of
https://github.com/hanzoai/cd.git
synced 2026-10-30 14:56:45 +00:00
charts/cd installs the same hanzocd-* objects manifests/install.yaml does (59/59 identical by kind+name) so `helm install` is a first-class path alongside kubectl -k. HA mode (ha.enabled) swaps in the redis-ha dependency, matching manifests/ha/install.yaml outside the redis subsystem (53/53 identical); hack/verify-helm-chart.sh enforces both on every run and is wired into `make release-precheck`. Fixes discovered getting there: the four HA kustomize overlays and the redis-ha proxy NetworkPolicy still targeted pre-rename cd-* names, so `kustomize build manifests/ha/cluster-install` was broken and the committed manifests/ha/*.yaml were stale (still shipping cd-server et al). Regenerated all four ha/*.yaml from the fixed base. The Helm chart also closes a second gap: nothing created the hanzocd-redis secret for HA installs (the vendored redis-ha chart's own pods never run our redis-initial-password bootstrap), so charts/cd runs it once as a pre-install hook.
11 lines
247 B
YAML
11 lines
247 B
YAML
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: hanzocd-application-controller
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: hanzocd-application-controller
|
|
args:
|
|
- /usr/local/bin/hanzocd-application-controller |