Browse Source

Fix incorrect templating in haproxy anchor script

Change-Id: Ia21f90f0e59fc85cdaf7366a22973a089927c6c5
Mark Burnett 5 months ago
parent
commit
eb00a0ddef
2 changed files with 3 additions and 2 deletions
  1. 2
    2
      charts/haproxy/templates/bin/_anchor.tpl
  2. 1
    0
      examples/basic/armada-resources.yaml

+ 2
- 2
charts/haproxy/templates/bin/_anchor.tpl View File

@@ -126,9 +126,9 @@ cleanup() {
126 126
 while true; do
127 127
     if [ -e /tmp/stop ]; then
128 128
         echo Stopping
129
-        {%- if .Values.conf.anchor.enable_cleanup %}
129
+        {{- if .Values.conf.anchor.enable_cleanup }}
130 130
         cleanup
131
-        {%- end %}
131
+        {{- end }}
132 132
         break
133 133
     fi
134 134
 

+ 1
- 0
examples/basic/armada-resources.yaml View File

@@ -607,6 +607,7 @@ data:
607 607
   values:
608 608
     conf:
609 609
       anchor:
610
+        enable_cleanup: false
610 611
         kubernetes_url: https://10.96.0.1:443
611 612
         services:
612 613
           kube-system:

Loading…
Cancel
Save