Skip to content

Commit 9b8e8c3

Browse files
wondertroywoodyh
and
woodyh
authored
fix: Add missing poddisruptionbudget update verb (#722)
Signed-off-by: woodyh <woodyh@blackmagicdesign.com> Co-authored-by: woodyh <woodyh@blackmagicdesign.com>
1 parent 838bdda commit 9b8e8c3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

config/rbac/role.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,4 @@ rules:
155155
- list
156156
- create
157157
- watch
158+
- update

docs/permissions.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ The definition of this role can be found [here](../config/rbac//leader_election_
2020
### Manager Role
2121

2222
The `manager-role` applies the rules described below, its definition can be found [here](../config/rbac/role.yaml).
23-
It provides the operator with sufficient permissions over the `core.openfeature.dev` resources, and the required permissions for injecting the `flagd` sidecar into appropriate pods.
23+
It provides the operator with sufficient permissions over the `core.openfeature.dev` resources,
24+
the required permissions for injecting the `flagd` sidecar into appropriate pods,
25+
and managing flagd-proxy resources
2426
The `ConfigMap` permissions are needed to allow the mounting of `FeatureFlag` resources for file syncs.
2527

2628
| API Group | Resource | Verbs |
@@ -29,6 +31,7 @@ The `ConfigMap` permissions are needed to allow the mounting of `FeatureFlag` re
2931
| - | `Pod` | create, delete, get, list, patch, update, watch |
3032
| - | `ServiceAccount` | get, list, watch |
3133
| - | `Service` *(\*)* | create, delete, get, list, patch, update, watch |
34+
| `policy` | `PodDisruptionBudget` | create, list, update, watch |
3235
| `networking.k8s.io` | `Ingress` *(\*)* | create, delete, get, list, patch, update, watch |
3336
| `core.openfeature.dev` | `FeatureFlag` | create, delete, get, list, patch, update, watch |
3437
| `core.openfeature.dev` | `FeatureFlag Finalizers` | update |

0 commit comments

Comments
 (0)