From a5d443fbe3b702813626477eeb8979bf651697a2 Mon Sep 17 00:00:00 2001 From: Christian Ingenhaag Date: Sun, 10 Apr 2022 14:26:23 +0200 Subject: [PATCH] Fix usage of selectorLabels --- charts/collabora-code/templates/deployment.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/charts/collabora-code/templates/deployment.yaml b/charts/collabora-code/templates/deployment.yaml index 3e2ce81..8130365 100644 --- a/charts/collabora-code/templates/deployment.yaml +++ b/charts/collabora-code/templates/deployment.yaml @@ -10,13 +10,11 @@ spec: type: {{ .Values.strategy }} selector: matchLabels: - app.kubernetes.io/name: {{ include "collabora-code.name" . }} - app.kubernetes.io/instance: {{ .Release.Name }} + {{- include "collabora-code.selectorLabels" . | nindent 6 }} template: metadata: labels: - app.kubernetes.io/name: {{ include "collabora-code.name" . }} - app.kubernetes.io/instance: {{ .Release.Name }} + {{- include "collabora-code.selectorLabels" . | nindent 8 }} spec: serviceAccountName: {{ include "collabora-code.serviceAccountName" . }} containers: