diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-04-14 13:18:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-04-14 13:18:05 +0000 |
commit | ae7d17938153eae0c5082263dc1dfbd5da746506 (patch) | |
tree | 327ec04d0dbe5b8201dc828bc37ef64959cd9829 /kubernetes | |
parent | 5cb7e709244cfb0c7c9d0b410002ae41265b7f54 (diff) | |
parent | 9f7a655f998f3e02e80c665bbbd9d7469dca850f (diff) |
Merge "[COMMON] Use proper format specifiers to printf masterPassword"
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/common/common/templates/_createPassword.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/common/common/templates/_createPassword.tpl b/kubernetes/common/common/templates/_createPassword.tpl index bfd0999e16..4ded11f53f 100644 --- a/kubernetes/common/common/templates/_createPassword.tpl +++ b/kubernetes/common/common/templates/_createPassword.tpl @@ -24,11 +24,11 @@ */}} {{- define "common.masterPassword" -}} {{ if .Values.masterPasswordOverride }} - {{- printf "%d" .Values.masterPasswordOverride -}} + {{- printf "%s" .Values.masterPasswordOverride -}} {{ else if .Values.global.masterPassword }} - {{- printf "%d" .Values.global.masterPassword -}} + {{- printf "%s" .Values.global.masterPassword -}} {{ else if .Values.masterPassword }} - {{- printf "%d" .Values.masterPassword -}} + {{- printf "%s" .Values.masterPassword -}} {{ else if eq "testRelease" (include "common.release" .) }} {{/* Special case for chart liniting. DON"T NAME YOUR PRODUCTION RELEASE testRelease */}} {{- printf "testRelease" -}} |