From cb997b76bac3f0431d44929bd87bc57b99289065 Mon Sep 17 00:00:00 2001 From: yandongxiao Date: Tue, 25 Jun 2024 14:15:12 +0800 Subject: [PATCH] [Chore] Prepare for v1.9.7 Signed-off-by: yandongxiao --- CHANGELOG.md | 24 +++++++++++++++++-- .../starrocks.com_starrocksclusters.yaml | 2 +- .../starrocks.com_starrockswarehouses.yaml | 2 +- deploy/operator.yaml | 4 ++-- deploy/starrocks.com_starrocksclusters.yaml | 2 +- deploy/starrocks.com_starrockswarehouses.yaml | 2 +- helm-charts/charts/kube-starrocks/Chart.yaml | 6 ++--- .../kube-starrocks/charts/operator/Chart.yaml | 4 ++-- .../charts/operator/values.yaml | 2 +- .../charts/starrocks/Chart.yaml | 2 +- helm-charts/charts/kube-starrocks/values.yaml | 2 +- helm-charts/charts/warehouse/Chart.yaml | 2 +- .../starrocks/v1/starrockscluster_types.go | 2 +- .../starrocks/v1/starrockswarehouse_types.go | 2 +- 14 files changed, 39 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a280c701..9150746d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,32 @@ # CHANGELOG +## [v1.9.7](https://github.com/StarRocks/starrocks-kubernetes-operator/releases/tag/v1.9.7) + +Release Notes for starrocks-kubernetes-operator v1.9.7 + +We are excited to announce the release of StarRocks Kubernetes Operator v1.9.7. This version has the following +enhancements and bug fixes: + +1. [Operator] Fix the problem that FE proxy will fail when FE external service is recreated(#557). +2. [Operator] Add loadBalancerSourceRanges field to support setting the source IP range for the load balancer(#551). +3. [Operator] Add topologySpreadConstraints field to support setting the topology spread constraints for pods(#546). +4. [Operator] Add CRD version information to CRD annotations(#544) +5. [Operator] Make it easy to configure the hostPath volume(#552) +6. [Chart] Add spill storage volume for BE and CN(#547) +7. [Chart] Remove JAVA_OPTS_FOR_JDK_9 and JAVA_OPTS_FOR_JDK_11 env from fe config, **this will cause the pods of FE to + restart if you are using the default config of FE in values.yaml**(#542) +8. [Documentation] We have added or updated some documents to help users deploy and manage StarRocks clusters on + Kubernetes. (#524) (#525) (#527) (#530) (#531) (#532) (#536) (#538). + ## [v1.9.6](https://github.com/StarRocks/starrocks-kubernetes-operator/releases/tag/v1.9.6) Release Notes for starrocks-kubernetes-operator v1.9.6 -We are excited to announce the release of StarRocks Kubernetes Operator v1.9.6. This version has the following enhancements: +We are excited to announce the release of StarRocks Kubernetes Operator v1.9.6. This version has the following +enhancements: -1. Support command and args(#516) in StarRocksCluster spec. You can easily customize the command and args if you are using helm chart. +1. Support command and args(#516) in StarRocksCluster spec. You can easily customize the command and args if you are + using helm chart. Below is a code snippet from values.yaml for your reference: ```yaml entrypoint: diff --git a/config/crd/bases/starrocks.com_starrocksclusters.yaml b/config/crd/bases/starrocks.com_starrocksclusters.yaml index 64386eee..16926827 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.6 + version: v1.9.7 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 7b07c0a4..d7de8c30 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.6 + version: v1.9.7 name: starrockswarehouses.starrocks.com spec: group: starrocks.com diff --git a/deploy/operator.yaml b/deploy/operator.yaml index 92e3e3bf..89c01594 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -160,7 +160,7 @@ spec: kubectl.kubernetes.io/default-container: manager labels: app: kube-starrocks-operator - version: 1.9.6 + version: 1.9.7 spec: automountServiceAccountToken: true containers: @@ -173,7 +173,7 @@ spec: env: - name: TZ value: Asia/Shanghai - image: "starrocks/operator:v1.9.6" + image: "starrocks/operator:v1.9.7" imagePullPolicy: Always name: manager securityContext: diff --git a/deploy/starrocks.com_starrocksclusters.yaml b/deploy/starrocks.com_starrocksclusters.yaml index 94937d2b..e2952701 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.6 + version: v1.9.7 name: starrocksclusters.starrocks.com spec: group: starrocks.com diff --git a/deploy/starrocks.com_starrockswarehouses.yaml b/deploy/starrocks.com_starrockswarehouses.yaml index 91982008..6e7ad4d8 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.6 + version: v1.9.7 name: starrockswarehouses.starrocks.com spec: group: starrocks.com diff --git a/helm-charts/charts/kube-starrocks/Chart.yaml b/helm-charts/charts/kube-starrocks/Chart.yaml index 2c68cac0..32a14674 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.6 +version: 1.9.7 # 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.6 + version: 1.9.7 repository: "file://charts/operator" - name: starrocks - version: 1.9.6 + version: 1.9.7 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 1edd0bae..5e6ac2e8 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.6 +version: 1.9.7 # 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.6 +appVersion: 1.9.7 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 d38f0121..0a0e79fe 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.6 + tag: v1.9.7 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 65e0121e..f50ad97e 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.6 +version: 1.9.7 # 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 e247eea2..2d8d45a9 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.6 + tag: v1.9.7 imagePullPolicy: Always replicaCount: 1 resources: diff --git a/helm-charts/charts/warehouse/Chart.yaml b/helm-charts/charts/warehouse/Chart.yaml index 269a624a..b626dd5a 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.6 +version: 1.9.7 # 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 ccd8183d..3b5d5443 100644 --- a/pkg/apis/starrocks/v1/starrockscluster_types.go +++ b/pkg/apis/starrocks/v1/starrockscluster_types.go @@ -276,7 +276,7 @@ type HorizontalScaler struct { // StarRocksCluster defines a starrocks cluster deployment. // +kubebuilder:object:root=true -// +kubebuilder:metadata:annotations="version=v1.9.6" +// +kubebuilder:metadata:annotations="version=v1.9.7" // +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 59b73db5..c50db53f 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.6" +// +kubebuilder:metadata:annotations="version=v1.9.7" // +kubebuilder:resource:shortName=warehouse // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // +kubebuilder:subresource:status