[stable/prometheus-operator] remove namespace field from non-namespaced resources (#22949)

* [stable/prometheus-operator] remove namespace field from non-namespaced resources

Signed-off-by: Riccardo M. Cefala <riccardo.cefala@container-solutions.com>

* [stable/prometheus-operator] bump chart version

Signed-off-by: Riccardo M. Cefala <riccardo.cefala@container-solutions.com>
This commit is contained in:
Riccardo M. Cefala
2020-07-08 07:53:08 -07:00
committed by GitHub
parent 1ec8650fff
commit 30b43ea0fe
6 changed files with 1 additions and 6 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ sources:
- https://github.com/coreos/kube-prometheus
- https://github.com/coreos/prometheus-operator
- https://coreos.com/operators/prometheus
version: 8.15.12
version: 8.15.13
appVersion: 0.38.1
tillerVersion: ">=2.12.0"
home: https://github.com/coreos/prometheus-operator
@@ -3,7 +3,6 @@ apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: {{ template "prometheus-operator.fullname" . }}-alertmanager
namespace: {{ template "prometheus-operator.namespace" . }}
labels:
app: {{ template "prometheus-operator.name" . }}-alertmanager
{{- if .Values.global.rbac.pspAnnotations }}
@@ -3,7 +3,6 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ template "prometheus-operator.fullname" . }}-admission
namespace: {{ template "prometheus-operator.namespace" . }}
annotations:
"helm.sh/hook": pre-install,pre-upgrade,post-install,post-upgrade
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
@@ -3,7 +3,6 @@ apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: {{ template "prometheus-operator.fullname" . }}-admission
namespace: {{ template "prometheus-operator.namespace" . }}
annotations:
"helm.sh/hook": pre-install,pre-upgrade,post-install,post-upgrade
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
@@ -3,7 +3,6 @@ apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: {{ template "prometheus-operator.fullname" . }}-operator
namespace: {{ template "prometheus-operator.namespace" . }}
labels:
app: {{ template "prometheus-operator.name" . }}-operator
{{- if .Values.global.rbac.pspAnnotations }}
@@ -3,7 +3,6 @@ apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: {{ template "prometheus-operator.fullname" . }}-prometheus
namespace: {{ template "prometheus-operator.namespace" . }}
labels:
app: {{ template "prometheus-operator.name" . }}-prometheus
{{- if .Values.global.rbac.pspAnnotations }}