| Giorgi Lekveishvili | 285ab62 | 2023-11-22 13:50:45 +0400 | [diff] [blame] | 1 | {{ if and .Values.images.registry.ImagePullSecret.name .Values.images.registry.ImagePullSecret.create -}} |
| 2 | apiVersion: v1 | ||||
| 3 | kind: Secret | ||||
| 4 | metadata: | ||||
| 5 | name: {{ .Values.images.registry.ImagePullSecret.name }} | ||||
| 6 | type: kubernetes.io/dockerconfigjson | ||||
| 7 | data: | ||||
| 8 | .dockerconfigjson: {{ template "imagePullSecret" . }} | ||||
| 9 | {{- end }} | ||||