diff --git a/stable/suitecrm/templates/_helpers.tpl b/stable/suitecrm/templates/_helpers.tpl index ec19607df608..24639065311a 100644 --- a/stable/suitecrm/templates/_helpers.tpl +++ b/stable/suitecrm/templates/_helpers.tpl @@ -8,7 +8,7 @@ Expand the name of the chart. {{/* Create a default fully qualified app name. -We truncate at 24 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). */}} {{- define "fullname" -}} {{- $name := default .Chart.Name .Values.nameOverride -}} @@ -17,7 +17,7 @@ We truncate at 24 chars because some Kubernetes name fields are limited to this {{/* Create a default fully qualified app name. -We truncate at 24 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). */}} {{- define "mariadb.fullname" -}} {{- printf "%s-%s" .Release.Name "mariadb" | trunc 63 | trimSuffix "-" -}} diff --git a/stable/suitecrm/templates/apache-pvc.yaml b/stable/suitecrm/templates/apache-pvc.yaml index 166feb8b9f47..6a603af60b8c 100644 --- a/stable/suitecrm/templates/apache-pvc.yaml +++ b/stable/suitecrm/templates/apache-pvc.yaml @@ -4,7 +4,7 @@ apiVersion: v1 metadata: name: {{ template "fullname" . }}-apache labels: - app: {{ template "fullname" . }} + app: {{ template "name" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" diff --git a/stable/suitecrm/templates/deployment.yaml b/stable/suitecrm/templates/deployment.yaml index 58ffa2254968..27918248db3b 100644 --- a/stable/suitecrm/templates/deployment.yaml +++ b/stable/suitecrm/templates/deployment.yaml @@ -4,7 +4,7 @@ kind: Deployment metadata: name: {{ template "fullname" . }} labels: - app: {{ template "fullname" . }} + app: {{ template "name" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" @@ -12,7 +12,7 @@ spec: template: metadata: labels: - app: {{ template "fullname" . }} + app: {{ template "name" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" diff --git a/stable/suitecrm/templates/secrets.yaml b/stable/suitecrm/templates/secrets.yaml index 115c3c3e45ee..07e1e4e310d1 100644 --- a/stable/suitecrm/templates/secrets.yaml +++ b/stable/suitecrm/templates/secrets.yaml @@ -3,7 +3,7 @@ kind: Secret metadata: name: {{ template "fullname" . }} labels: - app: {{ template "fullname" . }} + app: {{ template "name" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" diff --git a/stable/suitecrm/templates/suitecrm-pvc.yaml b/stable/suitecrm/templates/suitecrm-pvc.yaml index 1a1906c54392..94ca129d7436 100644 --- a/stable/suitecrm/templates/suitecrm-pvc.yaml +++ b/stable/suitecrm/templates/suitecrm-pvc.yaml @@ -4,7 +4,7 @@ apiVersion: v1 metadata: name: {{ template "fullname" . }}-suitecrm labels: - app: {{ template "fullname" . }} + app: {{ template "name" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" diff --git a/stable/suitecrm/templates/svc.yaml b/stable/suitecrm/templates/svc.yaml index 6afce24f1811..8c0d5ebcb82d 100644 --- a/stable/suitecrm/templates/svc.yaml +++ b/stable/suitecrm/templates/svc.yaml @@ -3,7 +3,7 @@ kind: Service metadata: name: {{ template "fullname" . }} labels: - app: {{ template "fullname" . }} + app: {{ template "name" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" @@ -22,4 +22,4 @@ spec: port: 443 targetPort: https selector: - app: {{ template "fullname" . }} + app: {{ template "name" . }}