diff --git a/ray-operator/controllers/ray/common/pod.go b/ray-operator/controllers/ray/common/pod.go index 336f3e19fea..11d4a043565 100644 --- a/ray-operator/controllers/ray/common/pod.go +++ b/ray-operator/controllers/ray/common/pod.go @@ -383,6 +383,10 @@ func BuildAutoscalerContainer(autoscalerImage string) v1.Container { }, }, }, + { + Name: "KUBERAY_CRD_VER", + Value: "v1", + }, }, Command: []string{ "ray", diff --git a/ray-operator/controllers/ray/common/pod_test.go b/ray-operator/controllers/ray/common/pod_test.go index f868749e3b8..c7d033a0827 100644 --- a/ray-operator/controllers/ray/common/pod_test.go +++ b/ray-operator/controllers/ray/common/pod_test.go @@ -213,6 +213,10 @@ var autoscalerContainer = v1.Container{ }, }, }, + { + Name: "KUBERAY_CRD_VER", + Value: "v1", + }, }, Command: []string{ "ray",