Skip to content

Commit

Permalink
Making it possible to pass image-PullSecrets to chart deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Fonseca committed Sep 22, 2023
1 parent 979f7ba commit 85fc415
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/cert-manager-webhook-ns1/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ spec:
{{- if ne .Values.priorityClassName "" }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
Expand Down
3 changes: 3 additions & 0 deletions deploy/cert-manager-webhook-ns1/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ image:
nameOverride: ""
fullnameOverride: ""

# -- Name of secret to use to pull images
imagePullSecrets: []

# The (secure) port our app binds to
containerPort: 8443

Expand Down

0 comments on commit 85fc415

Please sign in to comment.