Skip to content

Commit

Permalink
add imagePullSecrets
Browse files Browse the repository at this point in the history
Signed-off-by: Gentleelephant <[email protected]>
  • Loading branch information
Gentleelephant committed Mar 4, 2024
1 parent 75d0741 commit 3d1d291
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/templates/notificationmanagers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
sidecars:
tenant:
{{- if .Values.kubesphere.image }}
image: {{ .Values.kubesphere.image }}
image: {{ include "global.imageRegistry" . }}{{ .Values.kubesphere.image }}
{{- else }}
image: {{ include "global.imageRegistry" . }}{{ .Values.notificationmanager.sidecar.image.repo }}:{{ .Values.kubesphere.version }}
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions helm/templates/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,7 @@ spec:
{{- toYaml .Values.operator.affinity | nindent 8 }}
tolerations:
{{- toYaml .Values.operator.tolerations | nindent 8 }}
{{- with .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
1 change: 1 addition & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ kubesphere:
global:
imageRegistry: ""
nodeSelector: {}
imagePullSecrets: []
imageRegistryOverride: ""
# value of notification-manager-operator
operator:
Expand Down

0 comments on commit 3d1d291

Please sign in to comment.