Merge "Use default password during linting in helm3"
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Wed, 16 Sep 2020 07:09:31 +0000 (07:09 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 16 Sep 2020 07:09:31 +0000 (07:09 +0000)
kubernetes/common/common/templates/_createPassword.tpl

index bfa96da..bfd0999 100644 (file)
@@ -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 }}