[bitnami/metrics-server] fix: remove all namespace (#14478)

Remove all remaining namespace occurrences on cluster-scoped resources:
- ClusterRoleBinding
- ApiService

Signed-off-by: xeivieni <clement.mondion@gmail.com>

Signed-off-by: xeivieni <clement.mondion@gmail.com>
This commit is contained in:
xeivieni
2023-01-23 10:28:50 +01:00
committed by GitHub
parent 40bd9fb6ab
commit 2df795af5d
4 changed files with 1 additions and 4 deletions

View File

@@ -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.7
version: 6.2.8

View File

@@ -3,7 +3,6 @@ apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
kind: ClusterRoleBinding
metadata:
name: {{ printf "%s-auth-delegator" (include "common.names.fullname.namespace" .) }}
namespace: kube-system
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}

View File

@@ -3,7 +3,6 @@ apiVersion: {{ include "common.capabilities.apiService.apiVersion" . }}
kind: APIService
metadata:
name: v1beta1.metrics.k8s.io
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 }}

View File

@@ -3,7 +3,6 @@ apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
kind: ClusterRoleBinding
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 }}