Skip to content

Commit

Permalink
[chart] only add default-registry if specified (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
Itxaka authored Aug 10, 2022
1 parent 7c81cbf commit 7e71181
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ spec:
- {{.Values.sync_interval }}
- --operator-image
- {{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}
{{- if .Values.global.cattle.systemDefaultRegistry }}
- --default-registry
- {{ .Values.global.cattle.systemDefaultRegistry | quote }}
{{- end }}
serviceAccountName: elemental-operator
{{- with .Values.tolerations }}
tolerations:
Expand Down

0 comments on commit 7e71181

Please sign in to comment.