Skip to content

Commit

Permalink
Fix proxy environment variable in controller chart
Browse files Browse the repository at this point in the history
  • Loading branch information
kuujo committed Jan 13, 2023
1 parent 5d268bb commit 94d3e6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controller/chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: PROXY_IMAGE
{{- if .Values.init.image.tag }}
value: {{ printf "%s:%s" .Values.init.image.repository .Values.init.image.tag }}
{{- if .Values.proxy.image.tag }}
value: {{ printf "%s:%s" .Values.proxy.image.repository .Values.proxy.image.tag }}
{{- else }}
value: {{ .Values.init.image.repository }}
value: {{ .Values.proxy.image.repository }}
{{- end }}
volumeMounts:
- name: certs
Expand Down

0 comments on commit 94d3e6a

Please sign in to comment.