summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Burnett <mark.m.burnett@gmail.com>2018-11-19 14:36:30 -0600
committerMark Burnett <mark.m.burnett@gmail.com>2018-11-19 14:36:30 -0600
commiteb00a0ddef31cafd201a4cd96a700d1fbbce8c54 (patch)
tree665911f13c425a05011fffb26a67d001aedcfd9d
parentcfb8aa498c294c2adbc369ba5aaee19b49550d22 (diff)
Fix incorrect templating in haproxy anchor script
Notes
Notes (review): Code-Review+2: Bryan Strassner <bryan.strassner@gmail.com> Code-Review+2: Scott Hussey <sthussey@att.com> Workflow+1: Scott Hussey <sthussey@att.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 19 Nov 2018 22:14:22 +0000 Reviewed-on: https://review.openstack.org/618825 Project: openstack/airship-promenade Branch: refs/heads/master
-rw-r--r--charts/haproxy/templates/bin/_anchor.tpl4
-rw-r--r--examples/basic/armada-resources.yaml1
2 files changed, 3 insertions, 2 deletions
diff --git a/charts/haproxy/templates/bin/_anchor.tpl b/charts/haproxy/templates/bin/_anchor.tpl
index 6e3ddd5..1b90f6a 100644
--- a/charts/haproxy/templates/bin/_anchor.tpl
+++ b/charts/haproxy/templates/bin/_anchor.tpl
@@ -126,9 +126,9 @@ cleanup() {
126while true; do 126while true; do
127 if [ -e /tmp/stop ]; then 127 if [ -e /tmp/stop ]; then
128 echo Stopping 128 echo Stopping
129 {%- if .Values.conf.anchor.enable_cleanup %} 129 {{- if .Values.conf.anchor.enable_cleanup }}
130 cleanup 130 cleanup
131 {%- end %} 131 {{- end }}
132 break 132 break
133 fi 133 fi
134 134
diff --git a/examples/basic/armada-resources.yaml b/examples/basic/armada-resources.yaml
index 8b49fea..3399da2 100644
--- a/examples/basic/armada-resources.yaml
+++ b/examples/basic/armada-resources.yaml
@@ -607,6 +607,7 @@ data:
607 values: 607 values:
608 conf: 608 conf:
609 anchor: 609 anchor:
610 enable_cleanup: false
610 kubernetes_url: https://10.96.0.1:443 611 kubernetes_url: https://10.96.0.1:443
611 services: 612 services:
612 kube-system: 613 kube-system: