Skip to content

Commit 04484d2

Browse files
authored
fix(rbac): add update verb to mlflow jobs ClusterRole for run creation (#648)
1 parent 353b718 commit 04484d2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

config/rbac/evalhub/evalhub_mlflow_jobs_role.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
# ClusterRole for MLflow kubernetes-auth access (jobs only)
3-
# Jobs only need to create experiments and log metrics — they should not
4-
# update or delete existing experiments. The proxy SA retains full CRUD
3+
# Jobs need "update" because MLflow's kubernetes-workspace-provider maps
4+
# CreateRun, LogMetric and LogBatch to the "update" verb on experiments.
5+
# Jobs should not delete experiments. The proxy SA retains full CRUD
56
# via the broader evalhub-mlflow-access ClusterRole.
67
apiVersion: rbac.authorization.k8s.io/v1
78
kind: ClusterRole
@@ -14,4 +15,4 @@ rules:
1415
- apiGroups: ["mlflow.kubeflow.org"]
1516
resources:
1617
- experiments
17-
verbs: ["create", "get", "list"]
18+
verbs: ["create", "get", "list", "update"]

0 commit comments

Comments
 (0)