* Add controller statefulset name truncation at 52 chars Signed-off-by: MichaelVL <mvl.gh@network42.dk> * Delete old changelog Signed-off-by: MichaelVL <mvl.gh@network42.dk>
This commit is contained in:
parent
4ed76386e0
commit
0ad6070fcc
2 changed files with 5 additions and 3 deletions
|
|
@ -26,9 +26,11 @@ If release name contains chart name it will be used as a full name.
|
|||
|
||||
{{/*
|
||||
Create controller name and version as used by the chart label.
|
||||
Truncated at 52 chars because StatefulSet label 'controller-revision-hash' is limited
|
||||
to 63 chars and it includes 10 chars of hash and a separating '-'.
|
||||
*/}}
|
||||
{{- define "argo-cd.controller.fullname" -}}
|
||||
{{- printf "%s-%s" (include "argo-cd.fullname" .) .Values.controller.name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- printf "%s-%s" (include "argo-cd.fullname" .) .Values.controller.name | trunc 52 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue