From 453948669b8a38774bfbb25a9a1ff9eee2affd9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Trung?= Date: Wed, 4 Jan 2023 15:00:10 +0700 Subject: [PATCH] Fix label deployment not match service pod selector --- apm-server/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apm-server/templates/deployment.yaml b/apm-server/templates/deployment.yaml index 9ab2ef1f5..cdd510f96 100644 --- a/apm-server/templates/deployment.yaml +++ b/apm-server/templates/deployment.yaml @@ -14,12 +14,12 @@ spec: {{ toYaml .Values.updateStrategy | indent 4 }} selector: matchLabels: - app: apm-server + app: {{ .Chart.Name }} release: {{ .Release.Name | quote }} template: metadata: labels: - app: apm-server + app: {{ .Chart.Name }} release: {{ .Release.Name | quote }} {{- range $key, $value := .Values.labels }} {{ $key }}: {{ $value | quote }}