Skip to content

Commit

Permalink
Helm Chart: add imagePullSecret to serviceaccount (#186)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike <4757825+2mf@users.noreply.github.com>
  • Loading branch information
2mf and 2mf committed May 15, 2024
1 parent 74cde3c commit cd9967d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/charts/version-checker/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ metadata:
labels:
{{ include "version-checker.labels" . | indent 4 }}
name: {{ include "version-checker.name" . }}
{{- if .Values.image.imagePullSecret }}
imagePullSecret:
- name: {{ .Values.image.imagePullSecret }}
{{- end }}
2 changes: 2 additions & 0 deletions deploy/charts/version-checker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ image:
tag: ""
# -- Set the Image Pull Policy
pullPolicy: IfNotPresent
# -- Pull secrects - name of existing secret
imagePullSecret:

# -- Configure tolerations
tolerations: []
Expand Down

0 comments on commit cd9967d

Please sign in to comment.