mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-07-01 14:25:49 +02:00
add imagePullSecrets to deployment.yaml
Signed-off-by: Razvan Valceanu <razvan.valceanu@metaminds.com>
This commit is contained in:
parent
91527623e4
commit
f935fce54a
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@ spec:
|
|||
release: {{ .Release.Name }}
|
||||
spec:
|
||||
serviceAccountName: {{ include "example-webhook.fullname" . }}
|
||||
{{- if .Values.imagePullSecrets }}
|
||||
imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
|
|
Loading…
Reference in a new issue