mirror of https://git.rancher.io/rke2-charts
Restore legacy app label to metrics-server pods
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>pull/450/head
parent
8c733e28a5
commit
26f82cec79
|
@ -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 -}}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue