Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions manifests/0000_50_olm_06-psm-operator.servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ spec:
matchNames:
- openshift-operator-lifecycle-manager
selector: {}
serviceDiscoveryRole: EndpointSlice
10 changes: 10 additions & 0 deletions manifests/0000_90_olm_00-service-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down Expand Up @@ -105,6 +113,7 @@ spec:
selector:
matchLabels:
app: olm-operator
serviceDiscoveryRole: EndpointSlice
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
Expand Down Expand Up @@ -139,3 +148,4 @@ spec:
selector:
matchLabels:
app: catalog-operator
serviceDiscoveryRole: EndpointSlice
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ spec:
matchNames:
- openshift-operator-lifecycle-manager
selector: {}
serviceDiscoveryRole: EndpointSlice
10 changes: 10 additions & 0 deletions microshift-manifests/0000_90_olm_00-service-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down Expand Up @@ -105,6 +113,7 @@ spec:
selector:
matchLabels:
app: olm-operator
serviceDiscoveryRole: EndpointSlice
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
Expand Down Expand Up @@ -139,3 +148,4 @@ spec:
selector:
matchLabels:
app: catalog-operator
serviceDiscoveryRole: EndpointSlice
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
selector:
matchLabels:
app: olm-operator
serviceDiscoveryRole: EndpointSlice
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
Expand Down Expand Up @@ -56,6 +57,7 @@ spec:
selector:
matchLabels:
app: catalog-operator
serviceDiscoveryRole: EndpointSlice
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down Expand Up @@ -87,6 +89,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down