You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, the app name defined in the _helpers file under the "psmdb-database.fullname" variable is always truncated to 21 characters, even though the comment indicates that it should truncate to 63. Is there a specific reason for this limitation?
_helpers
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "psmdb-database.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 21 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 21 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 21 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
The text was updated successfully, but these errors were encountered:
For some reason, the app name defined in the _helpers file under the "psmdb-database.fullname" variable is always truncated to 21 characters, even though the comment indicates that it should truncate to 63. Is there a specific reason for this limitation?
The text was updated successfully, but these errors were encountered: