diff --git a/manifests/prometheus-operator/prometheus-operator-cluster-role.yaml b/manifests/prometheus-operator/prometheus-operator-cluster-role.yaml index 2f248651f7e4d640e3187408283920ac81cd9365..0a78305b42dab9f2641a7004c6a8a44e5960da4c 100644 --- a/manifests/prometheus-operator/prometheus-operator-cluster-role.yaml +++ b/manifests/prometheus-operator/prometheus-operator-cluster-role.yaml @@ -8,7 +8,13 @@ rules: resources: - thirdpartyresources verbs: - - create + - "*" +- apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions + verbs: + - "*" - apiGroups: - monitoring.coreos.com resources: @@ -40,3 +46,7 @@ rules: resources: - nodes verbs: ["list", "watch"] +- apiGroups: [""] + resources: + - namespaces + verbs: ["list"]