Files
my-rook-config/deploy/charts/library/templates/_imagepullsecret.tpl
T
Blaine Gardner bcc7d3e541 build: generate common.yaml from helm charts
Generate deploy/examples/common.yaml from Helm charts. There were still
a few differences between common.yaml and the Helm charts. Where there
were differences we assume common.yaml was the most up-to-date.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2021-12-07 13:54:27 -07:00

14 lines
380 B
Smarty

{{/*
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
{{- end }}
{{- end }}