| Giorgi Lekveishvili | ee15ee2 | 2024-03-28 12:35:10 +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 }} | ||||