{{ if and .Values.images.registry.ImagePullSecret.name .Values.images.registry.ImagePullSecret.create -}} | |
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: {{ .Values.images.registry.ImagePullSecret.name }} | |
type: kubernetes.io/dockerconfigjson | |
data: | |
.dockerconfigjson: {{ template "imagePullSecret" . }} | |
{{- end }} |