[bitnami/*] Fix Parse & Phabricator (#4730)

This commit is contained in:
Juan Ariza Toledano
2020-12-15 13:49:24 +01:00
committed by GitHub
parent b21f43ddad
commit f489bbc92a
4 changed files with 2 additions and 12 deletions

View File

@@ -36,12 +36,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
{{- if .Values.fullnameOverride -}}
{{- printf "%s-mongodb" .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- printf "%s-mongodb" .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s-mongodb" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}