Commit c95faa59 authored by Lars Fenneberg's avatar Lars Fenneberg

Helm charts: Actually render extra args and envs for haproxy

parent b0e91b68
......@@ -112,12 +112,19 @@ spec:
- name: haproxy
image: "{{ .Values.vikingService.haproxy.image.repository }}:{{ .Values.vikingService.haproxy.image.tag }}"
imagePullPolicy: "{{ .Values.vikingService.haproxy.image.pullPolicy }}"
{{- if .Values.vikingService.varnish.extraArgs }}
args:
{{- toYaml .Values.vikingService.haproxy.extraArgs | nindent 12 }}
{{- end }}
env:
- name: SECRET_DATAPLANEAPI
valueFrom:
secretKeyRef:
name: {{ template "viking-service.fullname" . }}-admin
key: dataplaneapi
{{- if .Values.vikingService.varnish.extraEnvs }}
{{- toYaml .Values.vikingService.haproxy.extraEnvs | nindent 12 }}
{{- end }}
livenessProbe:
exec:
command:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment