Skip to content

Commit

Permalink
Set v1 as the storage version
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin85421 committed Oct 11, 2023
1 parent 2ae7574 commit 76fe63f
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions helm-chart/kuberay-operator/crds/ray.io_rayclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6689,7 +6689,7 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- additionalPrinterColumns:
Expand Down Expand Up @@ -13365,7 +13365,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
subresources:
status: {}
status:
Expand Down
4 changes: 2 additions & 2 deletions helm-chart/kuberay-operator/crds/ray.io_rayjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9802,7 +9802,7 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- name: v1alpha1
Expand Down Expand Up @@ -19591,7 +19591,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
subresources:
status: {}
status:
Expand Down
4 changes: 2 additions & 2 deletions helm-chart/kuberay-operator/crds/ray.io_rayservices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7067,7 +7067,7 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- name: v1alpha1
Expand Down Expand Up @@ -14121,7 +14121,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
subresources:
status: {}
status:
Expand Down
1 change: 1 addition & 0 deletions ray-operator/apis/ray/v1/raycluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ const (
// RayCluster is the Schema for the RayClusters API
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +kubebuilder:printcolumn:name="desired workers",type=integer,JSONPath=".status.desiredWorkerReplicas",priority=0
// +kubebuilder:printcolumn:name="available workers",type=integer,JSONPath=".status.availableWorkerReplicas",priority=0
// +kubebuilder:printcolumn:name="status",type="string",JSONPath=".status.state",priority=0
Expand Down
1 change: 1 addition & 0 deletions ray-operator/apis/ray/v1/rayjob_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ type RayJobStatus struct {

// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +genclient
// RayJob is the Schema for the rayjobs API
type RayJob struct {
Expand Down
1 change: 1 addition & 0 deletions ray-operator/apis/ray/v1/rayservice_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ type ServeDeploymentStatus struct {

// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +genclient
// RayService is the Schema for the rayservices API
type RayService struct {
Expand Down
1 change: 0 additions & 1 deletion ray-operator/apis/ray/v1alpha1/raycluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ const (
// RayCluster is the Schema for the RayClusters API
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +kubebuilder:printcolumn:name="desired workers",type=integer,JSONPath=".status.desiredWorkerReplicas",priority=0
// +kubebuilder:printcolumn:name="available workers",type=integer,JSONPath=".status.availableWorkerReplicas",priority=0
// +kubebuilder:printcolumn:name="status",type="string",JSONPath=".status.state",priority=0
Expand Down
1 change: 0 additions & 1 deletion ray-operator/apis/ray/v1alpha1/rayjob_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ type RayJobStatus struct {

// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +genclient
// RayJob is the Schema for the rayjobs API
type RayJob struct {
Expand Down
1 change: 0 additions & 1 deletion ray-operator/apis/ray/v1alpha1/rayservice_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ type ServeDeploymentStatus struct {

// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +genclient
// RayService is the Schema for the rayservices API
type RayService struct {
Expand Down
4 changes: 2 additions & 2 deletions ray-operator/config/crd/bases/ray.io_rayclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6689,7 +6689,7 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- additionalPrinterColumns:
Expand Down Expand Up @@ -13365,7 +13365,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
subresources:
status: {}
status:
Expand Down
4 changes: 2 additions & 2 deletions ray-operator/config/crd/bases/ray.io_rayjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9802,7 +9802,7 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- name: v1alpha1
Expand Down Expand Up @@ -19591,7 +19591,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
subresources:
status: {}
status:
Expand Down
4 changes: 2 additions & 2 deletions ray-operator/config/crd/bases/ray.io_rayservices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7067,7 +7067,7 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- name: v1alpha1
Expand Down Expand Up @@ -14121,7 +14121,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
subresources:
status: {}
status:
Expand Down

0 comments on commit 76fe63f

Please sign in to comment.