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 assets/base/controller_metrics_servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: ${ASSET_PREFIX}-controller-monitor
namespace: ${NAMESPACE}
spec:
serviceDiscoveryRole: EndpointSlice
# Empty list to make json-patch work
endpoints: []
jobLabel: component
Expand Down
1 change: 1 addition & 0 deletions assets/base/node_metrics_servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: ${ASSET_PREFIX}-node-monitor
namespace: ${NODE_NAMESPACE}
spec:
serviceDiscoveryRole: EndpointSlice
# Empty list to make json-patch work
endpoints: []
jobLabel: component
Expand Down
8 changes: 8 additions & 0 deletions assets/base/rbac/prometheus_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ spec:
selector:
matchLabels:
app: aws-ebs-csi-driver-controller-metrics
serviceDiscoveryRole: EndpointSlice
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ spec:
selector:
matchLabels:
app: aws-efs-csi-driver-controller-metrics
serviceDiscoveryRole: EndpointSlice
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ spec:
selector:
matchLabels:
app: azure-disk-csi-driver-node-metrics
serviceDiscoveryRole: EndpointSlice
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ spec:
selector:
matchLabels:
app: azure-disk-csi-driver-node-metrics
serviceDiscoveryRole: EndpointSlice
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ spec:
selector:
matchLabels:
app: azure-disk-csi-driver-controller-metrics
serviceDiscoveryRole: EndpointSlice
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ spec:
selector:
matchLabels:
app: azure-file-csi-driver-controller-metrics
serviceDiscoveryRole: EndpointSlice
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ spec:
selector:
matchLabels:
app: openstack-cinder-csi-driver-controller-metrics
serviceDiscoveryRole: EndpointSlice
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ spec:
selector:
matchLabels:
app: manila-csi-driver-controller-metrics
serviceDiscoveryRole: EndpointSlice
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ spec:
selector:
matchLabels:
app: smb-csi-driver-controller-metrics
serviceDiscoveryRole: EndpointSlice