Files
saml-oidc-bridge/charts/saml-broker/templates/_helpers.tpl
Shamil Nunhuck 920a79b2e9 initial commit
2025-11-08 10:18:19 +00:00

11 lines
374 B
Smarty

{{- define "saml-broker.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- define "saml-broker.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s" (include "saml-broker.name" .) | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}