Files
my-rook-config/deploy/charts/library/templates/_imagepullsecret.tpl
T

13 lines
380 B
Smarty
Raw Normal View History

2021-09-30 15:23:35 -06:00
{{/*
Define imagePullSecrets option to pass to all service accounts
*/}}
{{- define "library.imagePullSecrets" }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets }}
{{- else }}
{{/* if the secrets are not included, include a comment for generating common.yaml */}}
# imagePullSecrets:
# - name: my-registry-secret
2021-09-30 15:23:35 -06:00
{{- end }}
{{- end }}