Skip to content

Commit

Permalink
fix: add accessbinding access to the backend role (#41)
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Luz Almeida <[email protected]>
  • Loading branch information
leoluz authored Oct 16, 2024
1 parent 27d8826 commit 42f2f85
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ spec:
name: backend
ports:
- containerPort: 8888
name: backend
protocol: TCP
- containerPort: 8883
name: metrics
protocol: TCP
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
8 changes: 8 additions & 0 deletions config/backend/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,11 @@ rules:
- roletemplates
verbs:
- get
- apiGroups:
- ephemeral-access.argoproj-labs.io
resources:
- accessbindings
verbs:
- get
- list
- watch

0 comments on commit 42f2f85

Please sign in to comment.