File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
snapshot-validation-webhook Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 11---
22apiVersion : v1
33kind : Secret
4+ metadata :
5+ name : {{ .Chart.Name }}-module-registry
6+ namespace : d8-{{ .Chart.Name }}
7+ {{- include "helm_lib_module_labels" (list .) | nindent 2 }}
8+ type : kubernetes.io/dockerconfigjson
9+ data :
10+ {{- if dig "registry" "dockercfg" false .Values.snapshotController }}
11+ .dockerconfigjson : {{ .Values.snapshotController.registry.dockercfg }}
12+ {{- else }}
13+ .dockerconfigjson : " eyJhdXRocyI6IHsgInJlZ2lzdHJ5LmRlY2tob3VzZS5pbyI6IHt9fX0="
14+ {{- end }}
15+ ---
16+ apiVersion : v1
17+ kind : Secret
418metadata :
519 name : deckhouse-registry
620 namespace : d8-{{ .Chart.Name }}
Original file line number Diff line number Diff line change 6060 app : snapshot-controller
6161 spec :
6262 imagePullSecrets :
63- - name : deckhouse -registry
63+ - name : {{ .Chart.Name }}-module -registry
6464 {{- include "helm_lib_priority_class" (tuple . "cluster-low") | nindent 6 }}
6565 {{- include "helm_lib_node_selector" (tuple . "system") | nindent 6 }}
6666 {{- include "helm_lib_tolerations" (tuple . "system") | nindent 6 }}
Original file line number Diff line number Diff line change 6161 checksum/config : {{ include (print $.Template.BasePath "/snapshot-validation-webhook/secret.yaml") . | sha256sum }}
6262 spec :
6363 imagePullSecrets :
64- - name : deckhouse -registry
64+ - name : {{ .Chart.Name }}-module -registry
6565 {{- include "helm_lib_priority_class" (tuple . "system-cluster-critical") | nindent 6 }}
6666 {{- include "helm_lib_node_selector" (tuple . "master") | nindent 6 }}
6767 {{- include "helm_lib_tolerations" (tuple . "any-node" "with-uninitialized") | nindent 6 }}
You can’t perform that action at this time.
0 commit comments