diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-09-16 07:09:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-16 07:09:31 +0000 |
commit | d71af8d01cd50f6dd11f1958b296a80ffa18ca04 (patch) | |
tree | cd05ea52666b243712da6686da411386765ad934 /kubernetes | |
parent | 3659d9fa22e750c410e5e5e4826b4198e9c69049 (diff) | |
parent | 0f8c3f1551f72569b0794e894ce6df0c47d72645 (diff) |
Merge "Use default password during linting in helm3"
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/common/common/templates/_createPassword.tpl | 3 |
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 }} |