Skip to content

Commit

Permalink
Merge pull request Mellanox#235 from e0ne/pull-secrets
Browse files Browse the repository at this point in the history
Fix imagePullSecrets for Network Operator
  • Loading branch information
moshe010 authored Aug 30, 2021
2 parents de92752 + 25976f6 commit fc2bb32
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deployment/network-operator/templates/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ spec:
{{- end }}
serviceAccountName: {{ include "network-operator.fullname" . }}
{{- if .Values.operator.imagePullSecrets }}
imagePullSecrets: {{ toYaml .Values.operator.imagePullSecrets | indent 8 }}
imagePullSecrets:
{{- range .Values.operator.imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
Expand Down

0 comments on commit fc2bb32

Please sign in to comment.