From: Borislav Glozman Date: Sun, 2 Feb 2020 13:20:30 +0000 (+0000) Subject: Merge "[COMMON] Allow to lint chart without master password" X-Git-Tag: 6.0.0~424 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=7643b7c45ee95f722f21fc10e9ea19273fd0fdb4;hp=3aa87a5a64a786b56d1c4242062ed1cecc6c6f3d;p=oom.git Merge "[COMMON] Allow to lint chart without master password" --- diff --git a/kubernetes/common/common/templates/_createPassword.tpl b/kubernetes/common/common/templates/_createPassword.tpl index 938b0ee514..8b2f1e274d 100644 --- a/kubernetes/common/common/templates/_createPassword.tpl +++ b/kubernetes/common/common/templates/_createPassword.tpl @@ -29,6 +29,9 @@ {{- printf "%d" .Values.global.masterPassword -}} {{ else if .Values.masterPassword }} {{- printf "%d" .Values.masterPassword -}} + {{ else if eq "testRelease" (include "common.release" .) }} + {{/* Special case for chart liniting. DON"T NAME YOUR PRODUCTION RELEASE testRelease */}} + {{- printf "testRelease" -}} {{ else }} {{ fail "masterPassword not provided" }} {{ end }}