From d9d2d93d1e94faf296c2b04921eb6ab03de474ab Mon Sep 17 00:00:00 2001 From: yandongxiao Date: Tue, 19 Nov 2024 23:59:54 +0800 Subject: [PATCH] prepare for v1.9.9 Signed-off-by: yandongxiao --- config/crd/bases/starrocks.com_starrocksclusters.yaml | 2 +- config/crd/bases/starrocks.com_starrockswarehouses.yaml | 2 +- deploy/operator.yaml | 4 ++-- deploy/starrocks.com_starrocksclusters.yaml | 2 +- deploy/starrocks.com_starrockswarehouses.yaml | 2 +- doc/build_your_own_container_image_howto.md | 8 ++++---- helm-charts/charts/kube-starrocks/Chart.yaml | 6 +++--- .../charts/kube-starrocks/charts/operator/Chart.yaml | 4 ++-- .../charts/kube-starrocks/charts/operator/values.yaml | 2 +- .../charts/kube-starrocks/charts/starrocks/Chart.yaml | 2 +- helm-charts/charts/kube-starrocks/values.yaml | 2 +- helm-charts/charts/warehouse/Chart.yaml | 2 +- pkg/apis/starrocks/v1/starrockscluster_types.go | 2 +- pkg/apis/starrocks/v1/starrockswarehouse_types.go | 2 +- scripts/change-version.sh | 2 +- 15 files changed, 22 insertions(+), 22 deletions(-) diff --git a/config/crd/bases/starrocks.com_starrocksclusters.yaml b/config/crd/bases/starrocks.com_starrocksclusters.yaml index 13b2d159..ae27924a 100644 --- a/config/crd/bases/starrocks.com_starrocksclusters.yaml +++ b/config/crd/bases/starrocks.com_starrocksclusters.yaml @@ -4,7 +4,7 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.14.0 - version: v1.9.8 + version: v1.9.9 name: starrocksclusters.starrocks.com spec: group: starrocks.com diff --git a/config/crd/bases/starrocks.com_starrockswarehouses.yaml b/config/crd/bases/starrocks.com_starrockswarehouses.yaml index 4e31cca5..6f2077dc 100644 --- a/config/crd/bases/starrocks.com_starrockswarehouses.yaml +++ b/config/crd/bases/starrocks.com_starrockswarehouses.yaml @@ -4,7 +4,7 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.14.0 - version: v1.9.8 + version: v1.9.9 name: starrockswarehouses.starrocks.com spec: group: starrocks.com diff --git a/deploy/operator.yaml b/deploy/operator.yaml index f2646c59..4e9606c9 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -168,7 +168,7 @@ spec: kubectl.kubernetes.io/default-container: manager labels: app: kube-starrocks-operator - version: 1.9.8 + version: 1.9.9 spec: automountServiceAccountToken: true containers: @@ -181,7 +181,7 @@ spec: env: - name: TZ value: Asia/Shanghai - image: "starrocks/operator:v1.9.8" + image: "starrocks/operator:v1.9.9" imagePullPolicy: Always name: manager securityContext: diff --git a/deploy/starrocks.com_starrocksclusters.yaml b/deploy/starrocks.com_starrocksclusters.yaml index e51b6202..2db48cc9 100644 --- a/deploy/starrocks.com_starrocksclusters.yaml +++ b/deploy/starrocks.com_starrocksclusters.yaml @@ -4,7 +4,7 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.14.0 - version: v1.9.8 + version: v1.9.9 name: starrocksclusters.starrocks.com spec: group: starrocks.com diff --git a/deploy/starrocks.com_starrockswarehouses.yaml b/deploy/starrocks.com_starrockswarehouses.yaml index e0820325..02a5a86d 100644 --- a/deploy/starrocks.com_starrockswarehouses.yaml +++ b/deploy/starrocks.com_starrockswarehouses.yaml @@ -4,7 +4,7 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.14.0 - version: v1.9.8 + version: v1.9.9 name: starrockswarehouses.starrocks.com spec: group: starrocks.com diff --git a/doc/build_your_own_container_image_howto.md b/doc/build_your_own_container_image_howto.md index 379c9bf1..014286f4 100644 --- a/doc/build_your_own_container_image_howto.md +++ b/doc/build_your_own_container_image_howto.md @@ -50,8 +50,8 @@ of [this PR](https://github.com/StarRocks/starrocks-kubernetes-operator/pull/288 # clone the repository git clone https://github.com/StarRocks/starrocks-kubernetes-operator.git -# checkout the latest released version, e.g., v1.9.8 -git checkout v1.9.8 +# checkout the latest released version, e.g., v1.9.9 +git checkout v1.9.9 # revert the commit git revert 66e2f2c @@ -78,9 +78,9 @@ make generate ```bash # replace the image name with your own, e.g. replace meaglekey to the username of the Docker Hub account -docker build -t meaglekey/operator:v1.9.8-remove-appProtocol . +docker build -t meaglekey/operator:v1.9.9-remove-appProtocol . # push the image to the Docker Hub # Note: you have to log in to the Docker Hub by `docker login` First. -docker push meaglekey/operator:v1.9.8-remove-appProtocol +docker push meaglekey/operator:v1.9.9-remove-appProtocol ``` diff --git a/helm-charts/charts/kube-starrocks/Chart.yaml b/helm-charts/charts/kube-starrocks/Chart.yaml index 3370127a..978983f2 100644 --- a/helm-charts/charts/kube-starrocks/Chart.yaml +++ b/helm-charts/charts/kube-starrocks/Chart.yaml @@ -25,7 +25,7 @@ maintainers: # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.9.8 +version: 1.9.9 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -43,10 +43,10 @@ keywords: dependencies: - name: operator - version: 1.9.8 + version: 1.9.9 repository: "file://charts/operator" - name: starrocks - version: 1.9.8 + version: 1.9.9 repository: "file://charts/starrocks" sources: diff --git a/helm-charts/charts/kube-starrocks/charts/operator/Chart.yaml b/helm-charts/charts/kube-starrocks/charts/operator/Chart.yaml index 3c6fff79..ea4c4294 100644 --- a/helm-charts/charts/kube-starrocks/charts/operator/Chart.yaml +++ b/helm-charts/charts/kube-starrocks/charts/operator/Chart.yaml @@ -25,13 +25,13 @@ maintainers: # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.9.8 +version: 1.9.9 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: 1.9.8 +appVersion: 1.9.9 kubeVersion: ">=1.18.3-0" diff --git a/helm-charts/charts/kube-starrocks/charts/operator/values.yaml b/helm-charts/charts/kube-starrocks/charts/operator/values.yaml index ed433d2e..77839a6d 100644 --- a/helm-charts/charts/kube-starrocks/charts/operator/values.yaml +++ b/helm-charts/charts/kube-starrocks/charts/operator/values.yaml @@ -36,7 +36,7 @@ starrocksOperator: image: # image sliced by "repository:tag" repository: starrocks/operator - tag: v1.9.8 + tag: v1.9.9 imagePullPolicy: Always replicaCount: 1 resources: diff --git a/helm-charts/charts/kube-starrocks/charts/starrocks/Chart.yaml b/helm-charts/charts/kube-starrocks/charts/starrocks/Chart.yaml index 79a83c6d..ca354bf1 100644 --- a/helm-charts/charts/kube-starrocks/charts/starrocks/Chart.yaml +++ b/helm-charts/charts/kube-starrocks/charts/starrocks/Chart.yaml @@ -25,7 +25,7 @@ maintainers: # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.9.8 +version: 1.9.9 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/helm-charts/charts/kube-starrocks/values.yaml b/helm-charts/charts/kube-starrocks/values.yaml index 5c5fe0db..e1f9dbc6 100644 --- a/helm-charts/charts/kube-starrocks/values.yaml +++ b/helm-charts/charts/kube-starrocks/values.yaml @@ -43,7 +43,7 @@ operator: image: # image sliced by "repository:tag" repository: starrocks/operator - tag: v1.9.8 + tag: v1.9.9 imagePullPolicy: Always replicaCount: 1 resources: diff --git a/helm-charts/charts/warehouse/Chart.yaml b/helm-charts/charts/warehouse/Chart.yaml index 2629923e..1d743403 100644 --- a/helm-charts/charts/warehouse/Chart.yaml +++ b/helm-charts/charts/warehouse/Chart.yaml @@ -23,7 +23,7 @@ maintainers: # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.9.8 +version: 1.9.9 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/pkg/apis/starrocks/v1/starrockscluster_types.go b/pkg/apis/starrocks/v1/starrockscluster_types.go index 9523ac65..a74aa894 100644 --- a/pkg/apis/starrocks/v1/starrockscluster_types.go +++ b/pkg/apis/starrocks/v1/starrockscluster_types.go @@ -291,7 +291,7 @@ type HorizontalScaler struct { // StarRocksCluster defines a starrocks cluster deployment. // +kubebuilder:object:root=true -// +kubebuilder:metadata:annotations="version=v1.9.8" +// +kubebuilder:metadata:annotations="version=v1.9.9" // +kubebuilder:resource:shortName=src // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // +kubebuilder:subresource:status diff --git a/pkg/apis/starrocks/v1/starrockswarehouse_types.go b/pkg/apis/starrocks/v1/starrockswarehouse_types.go index 5d37d656..13db3fea 100644 --- a/pkg/apis/starrocks/v1/starrockswarehouse_types.go +++ b/pkg/apis/starrocks/v1/starrockswarehouse_types.go @@ -64,7 +64,7 @@ type StarRocksWarehouseStatus struct { // StarRocksWarehouse defines a starrocks warehouse. // +kubebuilder:object:root=true -// +kubebuilder:metadata:annotations="version=v1.9.8" +// +kubebuilder:metadata:annotations="version=v1.9.9" // +kubebuilder:resource:shortName=warehouse // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // +kubebuilder:subresource:status diff --git a/scripts/change-version.sh b/scripts/change-version.sh index 5c1506d8..8ca8c45e 100644 --- a/scripts/change-version.sh +++ b/scripts/change-version.sh @@ -1,6 +1,6 @@ #! /bin/bash -# You should use it like this: bash ./scripts/change-version.sh 1.9.7 1.9.8 +# You should use it like this: bash ./scripts/change-version.sh 1.9.8 1.9.9 find . -type f | while read -r file; do # ignore files or directories starting with a dot