diff --git a/roles/openshift-apps/application-monitoring/files/prometheus-operator/example/rbac/prometheus/prometheus-cluster-role.yaml b/roles/openshift-apps/application-monitoring/files/prometheus-operator/example/rbac/prometheus/prometheus-cluster-role.yaml index a85422ecfa..d63d59f023 100644 --- a/roles/openshift-apps/application-monitoring/files/prometheus-operator/example/rbac/prometheus/prometheus-cluster-role.yaml +++ b/roles/openshift-apps/application-monitoring/files/prometheus-operator/example/rbac/prometheus/prometheus-cluster-role.yaml @@ -14,5 +14,5 @@ rules: resources: - configmaps verbs: ["get"] -- nonResourceURLs: ["/metrics"] +- nonResourceURLs: ["*"] verbs: ["get"] diff --git a/roles/openshift-apps/application-monitoring/files/prometheus-operator/example/rbac/prometheus/prometheus.yaml b/roles/openshift-apps/application-monitoring/files/prometheus-operator/example/rbac/prometheus/prometheus.yaml index e3f4e8df10..e32f0c936d 100644 --- a/roles/openshift-apps/application-monitoring/files/prometheus-operator/example/rbac/prometheus/prometheus.yaml +++ b/roles/openshift-apps/application-monitoring/files/prometheus-operator/example/rbac/prometheus/prometheus.yaml @@ -5,7 +5,7 @@ metadata: labels: prometheus: prometheus spec: - replicas: 2 + replicas: 1 serviceAccountName: prometheus serviceMonitorNamespaceSelector: matchLabels: