Skip to content

Commit 447038f

Browse files
authored
Update job auto restart rbac to have create/delete permission on pytorchjobs and pytorchjobs/status
The create/delete permission was missing previously which was causing unexpected behavior where service could not delete customer's job on an unhealthy node. Similarly, create permission is needed as well to bring back the job once a healthy node is brought up.
1 parent 13889de commit 447038f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

helm_chart/HyperPodHelmChart/charts/job-auto-restart/templates/job-auto-restart-rbac.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ rules:
4646
- get
4747
- list
4848
- watch
49+
- create
50+
- delete
4951
- patch
5052
- update
5153
- describe
@@ -76,4 +78,4 @@ roleRef:
7678
subjects:
7779
- kind: User
7880
name: hyperpod-service-linked-role
79-
namespace: {{ .Values.namespace }}
81+
namespace: {{ .Values.namespace }}

0 commit comments

Comments
 (0)