summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-06-15 15:11:33 +0000
committerGerrit Code Review <gerrit@onap.org>2021-06-15 15:11:33 +0000
commit27e7cc0736316201c79c1f8f19d0ad454695b1a3 (patch)
treefcf0bfbea7a669c0c694b63a1ad5e9c4e47f5eae
parentc886615fbe318871bcd0fdd5dd79c663fb93d14f (diff)
parenta817cc5788d4d5a8b478cc0cab0cf9750d5ab836 (diff)
Merge "[COMMON] Fix docker-registry-key empty creds"
-rw-r--r--kubernetes/common/repositoryGenerator/templates/_repository.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/repositoryGenerator/templates/_repository.tpl b/kubernetes/common/repositoryGenerator/templates/_repository.tpl
index 87dd5c29e9..488db054a0 100644
--- a/kubernetes/common/repositoryGenerator/templates/_repository.tpl
+++ b/kubernetes/common/repositoryGenerator/templates/_repository.tpl
@@ -139,7 +139,7 @@
{{/* Our version of helm doesn't support deepCopy so we need this nasty trick */}}
{{- $subchartDot := fromJson (include "common.subChartDot" (dict "dot" $dot "initRoot" $initRoot)) }}
{{- $repoCreds := "" }}
- {{- if $subchartDot.Values.global.dockerHubRepositoryCred }}
+ {{- if $subchartDot.Values.global.repositoryCred }}
{{- $repo := $subchartDot.Values.global.repository }}
{{- $cred := $subchartDot.Values.global.repositoryCred }}
{{- $mail := default "@" $cred.mail }}