Fix incorrect templating in haproxy anchor script

Change-Id: Ia21f90f0e59fc85cdaf7366a22973a089927c6c5
This commit is contained in:
Mark Burnett 2018-11-19 14:36:30 -06:00
parent cfb8aa498c
commit eb00a0ddef
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -607,6 +607,7 @@ data:
values:
conf:
anchor:
enable_cleanup: false
kubernetes_url: https://10.96.0.1:443
services:
kube-system: