Skip to content

Commit

Permalink
Add missing pull secret
Browse files Browse the repository at this point in the history
Helm chart is missing a pull secret variable, secret is needed to optionally pull images from a private repository
  • Loading branch information
Lapeyus committed Mar 11, 2021
1 parent bd535bd commit ff6c868
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions helm/sealed-secrets/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ spec:
{{ toYaml .Values.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.image.pullSecret }}
imagePullSecrets:
- name: {{ .Values.image.pullSecret }}
{{- end }}
serviceAccountName: {{ template "sealed-secrets.serviceAccountName" . }}
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
Expand Down
3 changes: 2 additions & 1 deletion helm/sealed-secrets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ image:
repository: quay.io/bitnami/sealed-secrets-controller
tag: v0.15.0
pullPolicy: IfNotPresent

pullSecret: ""

resources: {}
nodeSelector: {}
tolerations: []
Expand Down

0 comments on commit ff6c868

Please sign in to comment.