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:
Dan Mace
2018-02-13 16:05:17 -05:00
parent e8a19234dc
commit 936622aa3e

View File

@@ -20,6 +20,7 @@ rules:
resources:
- alertmanagers
- prometheuses
- prometheuses/finalizers
- servicemonitors
verbs:
- "*"