Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ rules:
- apiGroups: [ "monitoring.coreos.com"]
resources: ["podmonitors", "servicemonitors"]
verbs: ["get", "list", "watch"]
# The Target Allocator watches the ServiceMonitor/PodMonitor CustomResourceDefinitions
# so it can start/stop each informer as the CRD appears or disappears, letting it
# run healthily regardless of whether the CRDs are installed (read-only, cluster-scoped).
- apiGroups: [ "apiextensions.k8s.io" ]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch"]
{{- end }}
{{- end }}
---
Expand Down
Loading