diff --git a/manifests/0000_10_config-operator_01_prometheusrole.yaml b/manifests/0000_10_config-operator_01_prometheusrole.yaml index ad248e0ba..eb35f05a2 100644 --- a/manifests/0000_10_config-operator_01_prometheusrole.yaml +++ b/manifests/0000_10_config-operator_01_prometheusrole.yaml @@ -20,3 +20,11 @@ rules: - get - list - watch +- apiGroups: + - discovery.k8s.io + resources: + - endpointslices + verbs: + - get + - list + - watch diff --git a/manifests/0000_10_config-operator_03_servicemonitor.yaml b/manifests/0000_10_config-operator_03_servicemonitor.yaml index ef5b094f9..8b6969ffa 100644 --- a/manifests/0000_10_config-operator_03_servicemonitor.yaml +++ b/manifests/0000_10_config-operator_03_servicemonitor.yaml @@ -24,4 +24,5 @@ spec: selector: matchLabels: app: openshift-config-operator + serviceDiscoveryRole: EndpointSlice