Skip to content

Commit 7d5c5bf

Browse files
committed
BUG: haproxy: Fix invalid YAML from #252 PR
Signed-off-by: Dinko Korunic <[email protected]>
1 parent e568719 commit 7d5c5bf

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

haproxy/templates/daemonset.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ spec:
141141
env:
142142
{{- toYaml . | trim | nindent 12 }}
143143
{{- end }}
144-
{ { - with .Values.extraEnvFrom } }
144+
{{- with .Values.extraEnvFrom }}
145145
envFrom:
146-
{ { - toYaml . | trim | nindent 12 } }
147-
{ { - end } }
146+
{{- toYaml . | trim | nindent 12 }}
147+
{{- end }}
148148
resources:
149149
{{- toYaml .Values.resources | nindent 12 }}
150150
{{- if .Values.lifecycle }}

haproxy/templates/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ spec:
139139
env:
140140
{{- toYaml . | trim | nindent 12 }}
141141
{{- end }}
142-
{ { - with .Values.extraEnvFrom } }
142+
{{- with .Values.extraEnvFrom }}
143143
envFrom:
144-
{ { - toYaml . | trim | nindent 12 } }
145-
{ { - end } }
144+
{{- toYaml . | trim | nindent 12 }}
145+
{{- end }}
146146
resources:
147147
{{- toYaml .Values.resources | nindent 12 }}
148148
{{- if .Values.lifecycle }}

haproxy/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ extraEnvs: []
197197
# fieldRef:
198198
# fieldPath: status.podIP
199199

200-
## Use envFrom to add env vars from a secret or configmap to the HA Proxy container
200+
## Use envFrom to add env vars from a secret or ConfigMap to the HAProxy container
201201
## ref: https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/
202202
extraEnvFrom: []
203203
## Example passing the pod IP into a container

0 commit comments

Comments
 (0)