blob: 3f97cd0398510d0d2c34f13425cf1a334d9f5661 [file] [log] [blame]
Giorgi Lekveishviliee15ee22024-03-28 12:35:10 +04001{{ if and .Values.images.registry.ImagePullSecret.name .Values.images.registry.ImagePullSecret.create -}}
2apiVersion: v1
3kind: Secret
4metadata:
5 name: {{ .Values.images.registry.ImagePullSecret.name }}
6 labels:
7 {{- if .Values.additionalLabels }}
8{{ toYaml .Values.additionalLabels | indent 4 }}
9 {{- end }}
10type: kubernetes.io/dockerconfigjson
11data:
12 .dockerconfigjson: {{ template "imagePullSecret" . }}
13{{- end }}