first commit
This commit is contained in:
18
templates/_portal_helpers.tpl
Normal file
18
templates/_portal_helpers.tpl
Normal file
@@ -0,0 +1,18 @@
|
||||
{{/* vim: set filetype=mustache: */}}
|
||||
{{/*
|
||||
Create the name of the service account to use
|
||||
*/}}
|
||||
{{- define "gateway.apiportal.serviceAccountName" -}}
|
||||
{{- if .Values.apiportal.serviceAccount.create }}
|
||||
{{- default (printf "%s-%s" (include "gateway.fullname" .) "apiportal") .Values.aga.serviceAccount.name }}
|
||||
{{- else }}
|
||||
{{- default "default" .Values.apiportal.serviceAccount.name }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Secret name for mysql db credentials, either the existing one or the one created by this chart
|
||||
*/}}
|
||||
{{- define "gateway.apiportal.secretName" -}}
|
||||
{{- default (printf "%s-%s" (include "gateway.fullname" .) "apiportal-db") .Values.apiportal.mysql.existingSecret.name }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user