mirror of
https://github.com/bitnami/charts.git
synced 2026-03-07 08:07:55 +08:00
[bitnami/metrics-server] fix: remove namespace (#14375)
* [bitnami/metrics-server] fix: remove namespace Remove namespace on cluster-scoped resource `clusterRole` Signed-off-by: xeivieni <clement.mondion@gmail.com> * bitnami/metrics-server bump chart version Signed-off-by: cmondion <cmondion@payplug.com> Signed-off-by: xeivieni <clement.mondion@gmail.com> Signed-off-by: cmondion <cmondion@payplug.com>
This commit is contained in:
@@ -23,4 +23,4 @@ name: metrics-server
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/metrics-server
|
||||
- https://github.com/kubernetes-incubator/metrics-server
|
||||
version: 6.2.6
|
||||
version: 6.2.7
|
||||
|
||||
@@ -3,7 +3,6 @@ apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: {{ template "common.names.fullname.namespace" . }}
|
||||
namespace: {{ include "common.names.namespace" . | quote }}
|
||||
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
||||
{{- if .Values.commonLabels }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
@@ -34,7 +33,6 @@ apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: {{ printf "%s-view" (include "common.names.fullname.namespace" .) }}
|
||||
namespace: {{ include "common.names.namespace" . | quote }}
|
||||
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
||||
rbac.authorization.k8s.io/aggregate-to-admin: "true"
|
||||
rbac.authorization.k8s.io/aggregate-to-edit: "true"
|
||||
|
||||
Reference in New Issue
Block a user