Skip to content

Commit

Permalink
[Enhancement] Add a version annotation on CRD
Browse files Browse the repository at this point in the history
Signed-off-by: yandongxiao <[email protected]>
  • Loading branch information
yandongxiao committed Jun 13, 2024
1 parent 4da2465 commit c3a3c8f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/crd/bases/starrocks.com_starrocksclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
version: v1.9.6
name: starrocksclusters.starrocks.com
spec:
group: starrocks.com
Expand Down
1 change: 1 addition & 0 deletions config/crd/bases/starrocks.com_starrockswarehouses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
version: v1.9.6
name: starrockswarehouses.starrocks.com
spec:
group: starrocks.com
Expand Down
1 change: 1 addition & 0 deletions deploy/starrocks.com_starrocksclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
version: v1.9.6
name: starrocksclusters.starrocks.com
spec:
group: starrocks.com
Expand Down
1 change: 1 addition & 0 deletions deploy/starrocks.com_starrockswarehouses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
version: v1.9.6
name: starrockswarehouses.starrocks.com
spec:
group: starrocks.com
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/starrocks/v1/starrockscluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ type HorizontalScaler struct {

// StarRocksCluster defines a starrocks cluster deployment.
// +kubebuilder:object:root=true
// +kubebuilder:metadata:annotations="version=v1.9.6"
// +kubebuilder:resource:shortName=src
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:subresource:status
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/starrocks/v1/starrockswarehouse_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ type StarRocksWarehouseStatus struct {

// StarRocksWarehouse defines a starrocks warehouse.
// +kubebuilder:object:root=true
// +kubebuilder:metadata:annotations="version=v1.9.6"
// +kubebuilder:resource:shortName=warehouse
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:subresource:status
Expand Down

0 comments on commit c3a3c8f

Please sign in to comment.