Skip to content

Commit 16b5c11

Browse files
update doc: make clear the required permission for metrics regards the finalizers (#2380)
1 parent 85d4257 commit 16b5c11

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/faq.md

+6
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,14 @@ time="2019-06-05T12:29:54Z" level=fatal msg="failed to create or get service for
3232
Add the following to your `deploy/role.yaml` file to grant the operator permissions to set owner references to the metrics Service resource. This is needed so that the metrics Service will get deleted as soon as you delete the operators Deployment. If you are using another way of deploying your operator, have a look at [this guide][gc-metrics] for more information.
3333

3434
```
35+
- apiGroups:
36+
- apps
3537
resources:
3638
- deployments/finalizers
39+
resourceNames:
40+
- <operator-name>
41+
verbs:
42+
- "update"
3743
```
3844

3945
## My Ansible module is missing a dependency. How do I add it to the image?

0 commit comments

Comments
 (0)