From fd6882176a1f14188c37cd4dc201055c10ca8556 Mon Sep 17 00:00:00 2001 From: dmatch01 Date: Wed, 20 Jan 2021 14:02:02 -0500 Subject: [PATCH] Fix for operator role definition to add raycluster/finalizer (#13567) --- .../ray/autoscaler/kubernetes/operator_configs/operator.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ray/autoscaler/kubernetes/operator_configs/operator.yaml b/python/ray/autoscaler/kubernetes/operator_configs/operator.yaml index 956f27ff7..2c170f072 100644 --- a/python/ray/autoscaler/kubernetes/operator_configs/operator.yaml +++ b/python/ray/autoscaler/kubernetes/operator_configs/operator.yaml @@ -10,8 +10,8 @@ metadata: name: ray-operator-role rules: - apiGroups: ["", "cluster.ray.io"] - resources: ["rayclusters", "pods", "pods/exec"] - verbs: ["get", "watch", "list", "create", "delete", "patch"] + resources: ["rayclusters", "rayclusters/finalizers", "pods", "pods/exec"] + verbs: ["get", "watch", "list", "create", "delete", "patch", "update"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding