diff --git a/charts/haproxy/templates/bin/_anchor.tpl b/charts/haproxy/templates/bin/_anchor.tpl index 6e3ddd5f..1b90f6ab 100644 --- a/charts/haproxy/templates/bin/_anchor.tpl +++ b/charts/haproxy/templates/bin/_anchor.tpl @@ -126,9 +126,9 @@ cleanup() { while true; do if [ -e /tmp/stop ]; then echo Stopping - {%- if .Values.conf.anchor.enable_cleanup %} + {{- if .Values.conf.anchor.enable_cleanup }} cleanup - {%- end %} + {{- end }} break fi diff --git a/examples/basic/armada-resources.yaml b/examples/basic/armada-resources.yaml index 8b49feac..3399da20 100644 --- a/examples/basic/armada-resources.yaml +++ b/examples/basic/armada-resources.yaml @@ -607,6 +607,7 @@ data: values: conf: anchor: + enable_cleanup: false kubernetes_url: https://10.96.0.1:443 services: kube-system: