Restore legacy app label to metrics-server pods

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/450/head
Brad Davidson 2024-04-26 16:19:37 +00:00 committed by Brad Davidson
parent 8c733e28a5
commit 26f82cec79
2 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,14 @@
--- charts-original/templates/_helpers.tpl
+++ charts/templates/_helpers.tpl
@@ -100,3 +100,11 @@
@@ -49,6 +49,7 @@
Selector labels
*/}}
{{- define "metrics-server.selectorLabels" -}}
+app: {{ include "metrics-server.name" . }}
app.kubernetes.io/name: {{ include "metrics-server.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
@@ -100,3 +101,11 @@
{{- print "policy/v1beta1" -}}
{{- end -}}
{{- end -}}

View File

@ -1,2 +1,2 @@
url: https://github.com/kubernetes-sigs/metrics-server/releases/download/metrics-server-helm-chart-3.12.0/metrics-server-3.12.0.tgz
packageVersion: 01
packageVersion: 02