Skip to content

Commit

Permalink
imagePullSecret for redis-operator
Browse files Browse the repository at this point in the history
Added imagePullSecret for redis-operator in operator-deployment.yaml file

Signed-off-by: civkule <[email protected]>
  • Loading branch information
civkule committed Aug 27, 2024
1 parent 10087be commit 49f0ecf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion charts/redis-operator/templates/operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ spec:
{{- end }}
spec:
automountServiceAccountToken: {{ .Values.redisOperator.automountServiceAccountToken }}
{{- if .Values.redisOperator.imagePullSecrets }}
imagePullSecrets:
{{- toYaml .Values.redisOperator.imagePullSecrets | nindent 8 }}
{{- end }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
Expand Down Expand Up @@ -78,4 +82,4 @@ spec:
secret:
defaultMode: 420
secretName: {{ .Values.certificate.secretName }}
{{- end }}
{{- end }}

0 comments on commit 49f0ecf

Please sign in to comment.