From e7ec8b371b4fbfcd4f929f0f9e4b2541f4447d15 Mon Sep 17 00:00:00 2001 From: Emilien Devos Date: Fri, 27 Oct 2023 10:05:02 +0200 Subject: [PATCH] mviewer improve labels selector --- mviewer/templates/mviewer-deployment.yaml | 4 ++-- mviewer/templates/mviewerstudio-deployment.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mviewer/templates/mviewer-deployment.yaml b/mviewer/templates/mviewer-deployment.yaml index a55f947..2b44419 100644 --- a/mviewer/templates/mviewer-deployment.yaml +++ b/mviewer/templates/mviewer-deployment.yaml @@ -4,7 +4,7 @@ kind: Deployment metadata: name: {{ include "helm-mviewer.fullname" . }}-mviewer-deployment labels: - {{- include "helm-mviewer.labels" . | nindent 4 }} + {{- include "helm-mviewer.labels" . | nindent 4 }}-mviewer application/name: {{ include "helm-mviewer.fullname" . }}-mviewer-deployment spec: replicas: {{ .Values.mviewer.replicaCount }} @@ -18,7 +18,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} labels: - {{- include "helm-mviewer.selectorLabels" . | nindent 8 }} + {{- include "helm-mviewer.selectorLabels" . | nindent 8 }}-mviewer application/name: {{ include "helm-mviewer.fullname" . }}-mviewer-deployment spec: {{- if .Values.mviewer.configuration.git.url }} diff --git a/mviewer/templates/mviewerstudio-deployment.yaml b/mviewer/templates/mviewerstudio-deployment.yaml index 333fe97..38eb51e 100644 --- a/mviewer/templates/mviewerstudio-deployment.yaml +++ b/mviewer/templates/mviewerstudio-deployment.yaml @@ -4,7 +4,7 @@ kind: Deployment metadata: name: {{ include "helm-mviewer.fullname" . }}-mviewerstudio-deployment labels: - {{- include "helm-mviewer.labels" . | nindent 4 }} + {{- include "helm-mviewer.labels" . | nindent 4 }}-mviewerstudio application/name: {{ include "helm-mviewer.fullname" . }}-mviewerstudio-deployment spec: replicas: {{ .Values.mviewerstudio.replicaCount }} @@ -18,7 +18,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} labels: - {{- include "helm-mviewer.selectorLabels" . | nindent 8 }} + {{- include "helm-mviewer.selectorLabels" . | nindent 8 }}-mviewerstudio application/name: {{ include "helm-mviewer.fullname" . }}-mviewerstudio-deployment spec: {{- with .Values.mviewerstudio.imagePullSecrets }}