HAProxy: fail if there's any config errors

This commit is contained in:
Ben Banfield-Zanin committed 2024-12-19 16:24:45 +00:00
1 parent d5a4f4e638
commit 31e1b2beac
1 file changed
+4
@@ -68,6 +68,10 @@ spec:
{{- include "element-io.ess-library.pods.commonSpec" (dict "root" $ "context" (dict "componentValues" . "key" "haproxy" "deployment" true)) | nindent 6 }}
containers:
- name: haproxy
args:
- "-f"
- "/usr/local/etc/haproxy/haproxy.cfg"
- "-dW"
{{- with .image -}}
{{- if .digest }}
image: "{{ .registry }}/{{ .repository }}@{{ .digest }}"