X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-infra%2F30-Kong%2Fhelm%2Fkong%2Fcharts%2Fkong%2Ftemplates%2F_helpers.tpl;h=0a39678cc9493eca9a2714d2db08858be23f72fa;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=401878ae15af29854746c6327de89df872cec239;hpb=2df61c2fcf64b32ecf7f064ef9cbbe6b54a15bc0;p=it%2Fdep.git diff --git a/ric-infra/30-Kong/helm/kong/charts/kong/templates/_helpers.tpl b/ric-infra/30-Kong/helm/kong/charts/kong/templates/_helpers.tpl index 401878ae..0a39678c 100755 --- a/ric-infra/30-Kong/helm/kong/charts/kong/templates/_helpers.tpl +++ b/ric-infra/30-Kong/helm/kong/charts/kong/templates/_helpers.tpl @@ -23,6 +23,11 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} {{- end -}} +{{- define "kong.dblessConfig.fullname" -}} +{{- $name := default "kong-custom-dbless-config" .Values.dblessConfig.nameOverride -}} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} + {{/* Create the name of the service account to use */}}