Skip to content

Commit

Permalink
[CRD] Inject CRD version to the Autoscaler sidecar container (#1496) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin85421 authored Oct 17, 2023
1 parent eb3af49 commit b3601ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ray-operator/controllers/ray/common/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,10 @@ func BuildAutoscalerContainer(autoscalerImage string) v1.Container {
},
},
},
{
Name: "KUBERAY_CRD_VER",
Value: "v1",
},
},
Command: []string{
"ray",
Expand Down
4 changes: 4 additions & 0 deletions ray-operator/controllers/ray/common/pod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ var autoscalerContainer = v1.Container{
},
},
},
{
Name: "KUBERAY_CRD_VER",
Value: "v1",
},
},
Command: []string{
"ray",
Expand Down

0 comments on commit b3601ad

Please sign in to comment.