Skip to content

Commit

Permalink
Add serviceclaims/status rights to ControlPlane (#40)
Browse files Browse the repository at this point in the history
On application namespace creation graph `serviceclaims/status`
rights to ControlPlane's service account

Signed-off-by: Francesco Ilario <[email protected]>
  • Loading branch information
filariow authored Aug 10, 2023
1 parent 556c058 commit 536bbca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/src/primazactl/kube/roles/primazaroles.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ def get_primaza_namespace_role(role_name: str,
resources=["configmaps"],
verbs=["get", "list", "update", "delete"],
resource_names=["primaza-agentapp-config"]),
client.V1PolicyRule(
api_groups=["primaza.io"],
resources=["serviceclaims/status"],
verbs=["get", "update"]),
# pull synchronization strategy
client.V1PolicyRule(
api_groups=["primaza.io"],
Expand Down

0 comments on commit 536bbca

Please sign in to comment.