Skip to content
Draft
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
2 changes: 2 additions & 0 deletions docs/draft/howto/consuming-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ spec:
selector:
matchLabels:
apps.kubernetes.io/name: operator-controller
serviceDiscoveryRole: EndpointSlice
EOF
```

Expand Down Expand Up @@ -294,6 +295,7 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: catalogd
serviceDiscoveryRole: EndpointSlice
EOF
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,13 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
{{- end -}}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: {{ include "olmv1.label.name" . }}
serviceDiscoveryRole: EndpointSlice
{{- end -}}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: catalogd
serviceDiscoveryRole: EndpointSlice
1 change: 1 addition & 0 deletions helm/prometheus/templates/servicemonitor-kubelet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ spec:
selector:
matchLabels:
k8s-app: kubelet
serviceDiscoveryRole: EndpointSlice
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ spec:
selector:
matchLabels:
control-plane: operator-controller-controller-manager
serviceDiscoveryRole: EndpointSlice
9 changes: 9 additions & 0 deletions openshift/catalogd/manifests-experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
---
# Source: olmv1/templates/openshift/rolebinding-openshift-config-manager-rolebinding.yml
apiVersion: rbac.authorization.k8s.io/v1
Expand Down Expand Up @@ -1084,3 +1092,4 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: catalogd
serviceDiscoveryRole: EndpointSlice
9 changes: 9 additions & 0 deletions openshift/catalogd/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
---
# Source: olmv1/templates/openshift/rolebinding-openshift-config-manager-rolebinding.yml
apiVersion: rbac.authorization.k8s.io/v1
Expand Down Expand Up @@ -1083,3 +1091,4 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: catalogd
serviceDiscoveryRole: EndpointSlice
9 changes: 9 additions & 0 deletions openshift/operator-controller/manifests-experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
---
# Source: olmv1/templates/rbac/role-olmv1-system-operator-controller-manager-role.yml
apiVersion: rbac.authorization.k8s.io/v1
Expand Down Expand Up @@ -1366,3 +1374,4 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: operator-controller
serviceDiscoveryRole: EndpointSlice
9 changes: 9 additions & 0 deletions openshift/operator-controller/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
---
# Source: olmv1/templates/rbac/role-olmv1-system-operator-controller-manager-role.yml
apiVersion: rbac.authorization.k8s.io/v1
Expand Down Expand Up @@ -1268,3 +1276,4 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: operator-controller
serviceDiscoveryRole: EndpointSlice