diff --git a/charts/haproxy/templates/etc/_haproxy.yaml.tpl b/charts/haproxy/templates/etc/_haproxy.yaml.tpl index 0433a1f7..bfab7718 100644 --- a/charts/haproxy/templates/etc/_haproxy.yaml.tpl +++ b/charts/haproxy/templates/etc/_haproxy.yaml.tpl @@ -56,7 +56,7 @@ spec: # and installation echo "Staging proposed config for installation." cp "$HAPROXY_CONF" "$STAGE_HAPROXY_CONF" - if [ ! haproxy -c -f "$STAGE_HAPROXY_CONF"]; then + if ! haproxy -c -f "$STAGE_HAPROXY_CONF"; then echo "Proposed config not valid." return 1 fi