summaryrefslogtreecommitdiffstats
path: root/templates/configmap.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/configmap.yaml')
-rw-r--r--templates/configmap.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/configmap.yaml b/templates/configmap.yaml
index 212f9cd..a23ed5f 100644
--- a/templates/configmap.yaml
+++ b/templates/configmap.yaml
@@ -37,7 +37,11 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
data:
+{{ if .Values.global.installSidecarSecurity }}
+{{ tpl (.Files.Glob "resources/config/haproxy/haproxy-pluggable-security.cfg").AsConfig . | indent 2 }}
+{{ else }}
{{ tpl (.Files.Glob "resources/config/haproxy/haproxy.cfg").AsConfig . | indent 2 }}
+{{ end }}
---
apiVersion: v1
kind: Secret