Fix incorrect templating in haproxy anchor script
Change-Id: Ia21f90f0e59fc85cdaf7366a22973a089927c6c5
This commit is contained in:
parent
cfb8aa498c
commit
eb00a0ddef
|
@ -126,9 +126,9 @@ cleanup() {
|
||||||
while true; do
|
while true; do
|
||||||
if [ -e /tmp/stop ]; then
|
if [ -e /tmp/stop ]; then
|
||||||
echo Stopping
|
echo Stopping
|
||||||
{%- if .Values.conf.anchor.enable_cleanup %}
|
{{- if .Values.conf.anchor.enable_cleanup }}
|
||||||
cleanup
|
cleanup
|
||||||
{%- end %}
|
{{- end }}
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -607,6 +607,7 @@ data:
|
||||||
values:
|
values:
|
||||||
conf:
|
conf:
|
||||||
anchor:
|
anchor:
|
||||||
|
enable_cleanup: false
|
||||||
kubernetes_url: https://10.96.0.1:443
|
kubernetes_url: https://10.96.0.1:443
|
||||||
services:
|
services:
|
||||||
kube-system:
|
kube-system:
|
||||||
|
|
Loading…
Reference in New Issue