[bitnami/kube-prometheus] Remove namespace field for cluster wide resources (#17269)

* [bitnami/kube-prometheus] Remove namespace field for cluster wide resources

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>

* Update bitnami/kube-prometheus/templates/alertmanager/psp-clusterrolebinding.yaml

Signed-off-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com>

* Update bitnami/kube-prometheus/templates/prometheus-operator/clusterrolebinding.yaml

Signed-off-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com>

* Update bitnami/kube-prometheus/templates/prometheus-operator/psp-clusterrolebinding.yaml

Signed-off-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com>

* Update bitnami/kube-prometheus/templates/prometheus/clusterrolebinding.yaml

Signed-off-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com>

* Update bitnami/kube-prometheus/templates/prometheus/psp-clusterrolebinding.yaml

Signed-off-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com>

---------

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Signed-off-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com>
This commit is contained in:
Carlos Rodríguez Hernández
2023-06-21 12:39:12 +02:00
committed by GitHub
parent 45070893fb
commit 4095a41994
11 changed files with 1 additions and 11 deletions
+1 -1
View File
@@ -32,4 +32,4 @@ maintainers:
name: kube-prometheus
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/kube-prometheus
version: 8.14.0
version: 8.14.1
@@ -4,7 +4,6 @@ kind: ClusterRole
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
metadata:
name: {{ template "kube-prometheus.alertmanager.fullname" . }}-psp
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "kube-prometheus.alertmanager.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 4 }}
@@ -4,7 +4,6 @@ apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
kind: ClusterRoleBinding
metadata:
name: {{ template "kube-prometheus.alertmanager.fullname" . }}-psp
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "kube-prometheus.alertmanager.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 4 }}
@@ -3,7 +3,6 @@ apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
kind: ClusterRole
metadata:
name: {{ template "kube-prometheus.operator.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "kube-prometheus.operator.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
@@ -3,7 +3,6 @@ apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
kind: ClusterRoleBinding
metadata:
name: {{ template "kube-prometheus.operator.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "kube-prometheus.operator.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
@@ -4,7 +4,6 @@ kind: ClusterRole
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
metadata:
name: {{ template "kube-prometheus.operator.fullname" . }}-psp
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "kube-prometheus.operator.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
@@ -4,7 +4,6 @@ apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
kind: ClusterRoleBinding
metadata:
name: {{ template "kube-prometheus.operator.fullname" . }}-psp
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "kube-prometheus.operator.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
@@ -3,7 +3,6 @@ apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
kind: ClusterRole
metadata:
name: {{ template "kube-prometheus.prometheus.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "kube-prometheus.prometheus.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
@@ -3,7 +3,6 @@ apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
kind: ClusterRoleBinding
metadata:
name: {{ template "kube-prometheus.prometheus.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "kube-prometheus.prometheus.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
@@ -4,7 +4,6 @@ kind: ClusterRole
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
metadata:
name: {{ template "kube-prometheus.prometheus.fullname" . }}-psp
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "kube-prometheus.prometheus.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
@@ -4,7 +4,6 @@ apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
kind: ClusterRoleBinding
metadata:
name: {{ template "kube-prometheus.prometheus.fullname" . }}-psp
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "kube-prometheus.prometheus.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}