Add missing resource to operator role
Add a missing 'prometheuses/finalizers' resource to the operator cluster role. Without this role, the operator will fail to create a default secret for a Prometheus instance in the absence of any service monitors. The fix seems to already be present in the `examples` version of the role; this patch brings the contrib version in line with the example.
This commit is contained in:
@@ -20,6 +20,7 @@ rules:
|
||||
resources:
|
||||
- alertmanagers
|
||||
- prometheuses
|
||||
- prometheuses/finalizers
|
||||
- servicemonitors
|
||||
verbs:
|
||||
- "*"
|
||||
|
Reference in New Issue
Block a user