Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add missing poddisruptionbudget update verb #722

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,4 @@ rules:
- list
- create
- watch
- update
5 changes: 4 additions & 1 deletion docs/permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ The definition of this role can be found [here](../config/rbac//leader_election_
### Manager Role

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

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