Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Moving dev back to LF Gerrit
[it/dep.git]
/
ric-infra
/
30-Kong
/
helm
/
kong
/
charts
/
kong
/
templates
/
_helpers.tpl
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
401878a
..
0a39678
100755
(executable)
--- 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 -}}
{{- 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
*/}}
{{/*
Create the name of the service account to use
*/}}