summaryrefslogtreecommitdiffstats
path: root/kubernetes/common
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-09-16 07:09:31 +0000
committerGerrit Code Review <gerrit@onap.org>2020-09-16 07:09:31 +0000
commitd71af8d01cd50f6dd11f1958b296a80ffa18ca04 (patch)
treecd05ea52666b243712da6686da411386765ad934 /kubernetes/common
parent3659d9fa22e750c410e5e5e4826b4198e9c69049 (diff)
parent0f8c3f1551f72569b0794e894ce6df0c47d72645 (diff)
Merge "Use default password during linting in helm3"
Diffstat (limited to 'kubernetes/common')
-rw-r--r--kubernetes/common/common/templates/_createPassword.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/common/common/templates/_createPassword.tpl b/kubernetes/common/common/templates/_createPassword.tpl
index bfa96daf64..bfd0999e16 100644
--- a/kubernetes/common/common/templates/_createPassword.tpl
+++ b/kubernetes/common/common/templates/_createPassword.tpl
@@ -32,6 +32,9 @@
{{ else if eq "testRelease" (include "common.release" .) }}
{{/* Special case for chart liniting. DON"T NAME YOUR PRODUCTION RELEASE testRelease */}}
{{- printf "testRelease" -}}
+ {{ else if eq "test-release" .Release.Name }}
+ {{/* Special case for chart linting in helm3. DON"T NAME YOUR PRODUCTION RELEASE test-release */}}
+ {{- printf "testRelease" -}}
{{ else }}
{{ fail "masterPassword not provided" }}
{{ end }}