From ba9ba8f8a7453814b59d3fc2ee38b664cde117fd Mon Sep 17 00:00:00 2001 From: "v.oleynikov" Date: Wed, 13 Nov 2024 12:44:25 +0300 Subject: [PATCH] [internal] Create deckhouse-registry secret Signed-off-by: v.oleynikov --- templates/registry-secret.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/templates/registry-secret.yaml b/templates/registry-secret.yaml index 6a1ac52..a3ccdce 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 }}