Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Commit

Permalink
Move image pull secrets to pod spec (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
seglo authored Apr 2, 2022
1 parent d29b74e commit a19e49c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/kafka-lag-exporter/templates/040-Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ spec:
serviceAccountName: {{ include "kafka-lag-exporter.fullname" . }}-serviceaccount
{{- end }}
{{- end }}
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{ toYaml .Values.image.pullSecrets | indent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
{{- if .Values.image.digest }}
Expand All @@ -49,10 +53,6 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- end }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{ toYaml .Values.image.pullSecrets | indent 10 }}
{{- end }}
{{- if .Values.env }}
env:
{{ toYaml .Values.env | indent 10 }}
Expand Down

0 comments on commit a19e49c

Please sign in to comment.