From a6bc59894419f588154934d6bcf7ba3b06c86e06 Mon Sep 17 00:00:00 2001 From: Vasily Oleynikov Date: Fri, 15 Nov 2024 13:49:24 +0500 Subject: [PATCH] [internal] Create deckhouse-registry secret (#50) 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 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 }}