Merge pull request #1566 from primeroz/fix/do-not-add-namespace-to-clusterwide-resources

Hide namespace for prometheus clusterRole and clusterRolebinding
This commit is contained in:
Philip Gough
2022-01-10 11:19:31 +00:00
committed by GitHub
3 changed files with 6 additions and 4 deletions

View File

@@ -8,7 +8,6 @@ metadata:
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 2.32.1
name: prometheus-k8s
namespace: monitoring
rules:
- apiGroups:
- ""

View File

@@ -8,7 +8,6 @@ metadata:
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 2.32.1
name: prometheus-k8s
namespace: monitoring
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole