diff --git a/templates/registry-secret.yaml b/templates/registry-secret.yaml index c1a4f756..681557a3 100644 --- a/templates/registry-secret.yaml +++ b/templates/registry-secret.yaml @@ -12,3 +12,13 @@ data: {{- else }} .dockerconfigjson: "eyJhdXRocyI6IHsgInJlZ2lzdHJ5LmRlY2tob3VzZS5pbyI6IHt9fX0=" {{- end }} +--- +apiVersion: v1 +kind: Secret +metadata: + name: deckhouse-registry + namespace: d8-{{ .Chart.Name }} + {{- include "helm_lib_module_labels" (list .) | nindent 2 }} +type: kubernetes.io/dockerconfigjson +data: + .dockerconfigjson: {{ .Values.global.modulesImages.registry.dockercfg }}