diff --git a/chart/templates/_helpers.tpl b/chart/templates/_helpers.tpl index eb391c4..d2bcf97 100644 --- a/chart/templates/_helpers.tpl +++ b/chart/templates/_helpers.tpl @@ -12,4 +12,4 @@ helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }} {{- define "theia-shared-cache.selectorLabels" -}} app.kubernetes.io/name: {{ .Chart.Name }} app.kubernetes.io/instance: {{ .Release.Name }} -{{- end }} +{{- end -}} diff --git a/chart/templates/redis-service.yaml b/chart/templates/redis-service.yaml index 17545e0..b4bc20a 100644 --- a/chart/templates/redis-service.yaml +++ b/chart/templates/redis-service.yaml @@ -18,6 +18,6 @@ spec: targetPort: metrics protocol: TCP selector: - {{- include "theia-shared-cache.selectorLabels" . | nindent 6 }} + {{- include "theia-shared-cache.selectorLabels" . | nindent 4 }} app.kubernetes.io/component: storage {{- end }} diff --git a/chart/templates/service.yaml b/chart/templates/service.yaml index ca87d72..2235bb2 100644 --- a/chart/templates/service.yaml +++ b/chart/templates/service.yaml @@ -14,6 +14,6 @@ spec: targetPort: http protocol: TCP selector: - {{- include "theia-shared-cache.selectorLabels" . | nindent 6 }} + {{- include "theia-shared-cache.selectorLabels" . | nindent 4 }} app.kubernetes.io/component: cache-server {{- end }}