Skip to content

Commit

Permalink
Update kubernetes permissions
Browse files Browse the repository at this point in the history
The latest implementation uses jobs

Still need to work out the exact permissions required- see #52

Signed-off-by: James Taylor <[email protected]>
  • Loading branch information
jt-nti committed May 24, 2024
1 parent 37d7488 commit fa43ac5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/configuring/kubernetes-permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ The k8s builder needs sufficient permissions to manage chaincode pods on behalf

| Resource | Permissions |
| -------- | -------------------------------- |
| jobs | get, list, watch, create |
| pods | get, list, watch, create, delete |
| secrets | create, patch |

Expand All @@ -23,7 +24,9 @@ rules:
- apiGroups:
- ""
- apps
- batch
resources:
- jobs
- pods
- configmaps
- secrets
Expand Down

0 comments on commit fa43ac5

Please sign in to comment.