X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-infra%2F20-Credential%2Fhelm%2Ftemplates%2F_helper.tpl;h=83d4967909221646deff51a2467a6bbdd64c252d;hb=413a28108995fe4299718fab6d5f300a210b3ffe;hp=67274f0d858899b482ed17a8c0f3abbbd0c5a732;hpb=7f1e409379856025977fc8a6ea04ddb215f21a13;p=it%2Fdep.git diff --git a/ric-infra/20-Credential/helm/templates/_helper.tpl b/ric-infra/20-Credential/helm/templates/_helper.tpl index 67274f0d..83d49679 100644 --- a/ric-infra/20-Credential/helm/templates/_helper.tpl +++ b/ric-infra/20-Credential/helm/templates/_helper.tpl @@ -59,7 +59,7 @@ Create chart name and version as used by the chart label. */}} {{- define "repository.secret" -}} {{- $repo := include "common.repository" . }} - {{- $cred := .Values.repositoryCred }} + {{- $cred := .Values.repositoryCredential }} {{- $user := default "docker" $cred.user }} {{- $password := default "docker" $cred.password }} {{- $mail := default "@" $cred.mail }} @@ -70,12 +70,12 @@ Create chart name and version as used by the chart label. {{- define "helmrepo.secret.user" -}} - {{- $user := default "helm" .Values.helmrepoCred.user -}} + {{- $user := default "helm" .Values.helmrepoCredential.user -}} {{- printf "%s" $user |b64enc }} {{- end -}} {{- define "helmrepo.secret.password" -}} - {{- $pass := default "helm" .Values.helmrepoCred.password -}} + {{- $pass := default "helm" .Values.helmrepoCredential.password -}} {{- printf "%s" $pass |b64enc }} {{- end -}}