Merge "Make haproxy-anchor cleanup optional"
This commit is contained in:
commit
034c43cf17
|
@ -124,7 +124,9 @@ cleanup() {
|
|||
while true; do
|
||||
if [ -e /tmp/stop ]; then
|
||||
echo Stopping
|
||||
{%- if .Values.conf.anchor.enable_cleanup %}
|
||||
cleanup
|
||||
{%- end %}
|
||||
break
|
||||
fi
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@ conf:
|
|||
- mode tcp
|
||||
- option tcp-check
|
||||
- option redispatch
|
||||
enable_cleanup: true
|
||||
|
||||
haproxy:
|
||||
container_config_dir: /usr/local/etc/haproxy
|
||||
|
|
Loading…
Reference in New Issue