Skip to content

Commit

Permalink
[Chore] change related fields to release v1.9.0 (#383)
Browse files Browse the repository at this point in the history
Signed-off-by: yandongxiao <[email protected]>
  • Loading branch information
yandongxiao authored Jan 3, 2024
1 parent b7b3c3f commit 3d362be
Show file tree
Hide file tree
Showing 9 changed files with 141 additions and 18 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# CHANGELOG

## [v1.9.0](https://github.com/StarRocks/starrocks-kubernetes-operator/releases/tag/v1.9.0)

Release Notes for starrocks-kubernetes-operator v1.9.0

We are thrilled to announce the release of StarRocks Kubernetes Operator v1.9.0. This release introduces several
enhancements, bug fixes, and documentation updates to improve the user experience of deploying and managing StarRocks
clusters on Kubernetes.

### What's New

1. [Feature] Add StarRocksWarehouse CRD to support StarRocks Warehouse Feature (#323). Note: warehouse is an
enterprise feature for StarRocks.
2. [Enhancement] Use StarRocksCluster State to log errors when subController apply failed (#359): We have improved error
logging by using the StarRocksCluster status.State when the subController apply operation fails.
3. [Enhancement] Support to mount emptyDir in storageVolumes (#324): We have added support to mount emptyDir in
storageVolumes.

### BugFix

1. [BugFix] We have fixed an issue where the cluster status phase was not in sync with the component.(#380)
2. [BugFix] We have fixed an issue where the HPA was not removed when the autoScalingPolicy was removed.(#379)
3. [BugFix] We have fixed an issue where the HPA resource was not removed when the CN spec was removed.(#357)

### Maintenance

1. We have improved the setup of the Kubernetes environment for unit tests by using setup-envtest. (#347)
2. We have added unit tests and ensured that the code coverage is at least 65%. (#354)
3. We have updated the script to generate the API reference documentation.(#350)
4. We have switched to using zap as the logger for better logging capabilities.(#341)

We encourage you to update to this new version and benefit from these improvements. As always, your feedback is very
welcome.

## [v1.8.8](https://github.com/StarRocks/starrocks-kubernetes-operator/releases/tag/v1.8.8)

Release Notes for starrocks-kubernetes-operator v1.8.8
Expand Down
4 changes: 2 additions & 2 deletions deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ spec:
kubectl.kubernetes.io/default-container: manager
labels:
app: kube-starrocks-operator
version: 1.8.8
version: 1.9.0
spec:
automountServiceAccountToken: true
containers:
Expand All @@ -187,7 +187,7 @@ spec:
env:
- name: TZ
value: Asia/Shanghai
image: "starrocks/operator:v1.8.8"
image: "starrocks/operator:v1.9.0"
imagePullPolicy: Always
name: manager
securityContext:
Expand Down
27 changes: 18 additions & 9 deletions doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ The possible value for component phase are: reconciling, failed, running.</p>
</tr>
</thead>
<tbody><tr><td><p>&#34;failed&#34;</p></td>
<td><p>ComponentFailed have at least one service failed.</p>
<td><p>ComponentFailed the pod of component is failed</p>
</td>
</tr><tr><td><p>&#34;reconciling&#34;</p></td>
<td><p>ComponentReconciling the starrocks have component in starting.</p>
<td><p>ComponentReconciling the starrocks component is reconciling</p>
</td>
</tr><tr><td><p>&#34;running&#34;</p></td>
<td><p>ComponentRunning all components runs available.</p>
Expand Down Expand Up @@ -390,14 +390,11 @@ The possible value for cluster phase are: running, failed, pending, deleting.</p
<th>Description</th>
</tr>
</thead>
<tbody><tr><td><p>&#34;deleting&#34;</p></td>
<td><p>ClusterDeleting waiting all resource deleted</p>
</td>
</tr><tr><td><p>&#34;failed&#34;</p></td>
<tbody><tr><td><p>&#34;failed&#34;</p></td>
<td><p>ClusterFailed represents starrocks cluster failed.</p>
</td>
</tr><tr><td><p>&#34;pending&#34;</p></td>
<td><p>ClusterPending represents the starrocks cluster is creating</p>
</tr><tr><td><p>&#34;reconciling&#34;</p></td>
<td><p>ClusterReconciling represents some component is reconciling</p>
</td>
</tr><tr><td><p>&#34;running&#34;</p></td>
<td><p>ClusterRunning represents starrocks cluster is running.</p>
Expand Down Expand Up @@ -780,6 +777,17 @@ Phase
</tr>
<tr>
<td>
<code>reason</code><br/>
<em>
string
</em>
</td>
<td>
<p>Reason represents the errors when calling sub-controllers</p>
</td>
</tr>
<tr>
<td>
<code>starRocksFeStatus</code><br/>
<em>
<a href="#starrocks.com/v1.StarRocksFeStatus">
Expand Down Expand Up @@ -1970,6 +1978,7 @@ string
</em>
</td>
<td>
<em>(Optional)</em>
<p>StorageSize is a valid memory size type based on powers-of-2, so 1Mi is 1024Ki.
Supported units:Mi, Gi, GiB, Ti, Ti, Pi, Ei, Ex: <code>512Mi</code>.</p>
</td>
Expand Down Expand Up @@ -2062,5 +2071,5 @@ AutoScalingPolicy
<hr/>
<p><em>
Generated with <code>gen-crd-api-reference-docs</code>
on git commit <code>c86f10d</code>.
on git commit <code>b7b3c3f</code>.
</em></p>
2 changes: 1 addition & 1 deletion helm-charts/charts/kube-starrocks/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.8
version: 1.9.0

# 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
Expand Down
4 changes: 2 additions & 2 deletions helm-charts/charts/kube-starrocks/charts/operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.8
version: 1.9.0

# 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.8.8
appVersion: 1.9.0

kubeVersion: ">=1.18.3-0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ starrocksOperator:
image:
# image sliced by "repository:tag"
repository: starrocks/operator
tag: v1.8.8
tag: v1.9.0
imagePullPolicy: Always
replicaCount: 1
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.8
version: 1.9.0

# 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
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/charts/kube-starrocks/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ operator:
image:
# image sliced by "repository:tag"
repository: starrocks/operator
tag: v1.8.8
tag: v1.9.0
imagePullPolicy: Always
replicaCount: 1
resources:
Expand Down
83 changes: 82 additions & 1 deletion index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
apiVersion: v1
entries:
kube-starrocks:
- apiVersion: v2
appVersion: 3.1-latest
created: "2024-01-03T14:32:25.868772+08:00"
description: kube-starrocks includes two subcharts, operator and starrocks
digest: 87846c790fabe63ce00dc7427b4bc71d9a943f0181672f1d386fe5f519232013
home: https://github.com/StarRocks/starrocks-kubernetes-operator
icon: https://avatars.githubusercontent.com/u/88238841
keywords:
- operator
- starrocks
- database
- olap
kubeVersion: '>=1.18.3-0'
maintainers:
- email: [email protected]
name: Kevin Cai
- email: [email protected]
name: SidaShen
- email: [email protected]
name: Dongxiao Yan
name: kube-starrocks
sources:
- https://github.com/StarRocks/starrocks
type: application
urls:
- https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.9.0/kube-starrocks-1.9.0.tgz
version: 1.9.0
- apiVersion: v2
appVersion: 3.1-latest
created: "2023-12-19T14:04:37.124666+08:00"
Expand Down Expand Up @@ -333,6 +360,33 @@ entries:
- https://github.com/StarRocks/helm-charts/releases/download/kube-starrocks-1.6.1/kube-starrocks-1.6.1.tgz
version: 1.6.1
operator:
- apiVersion: v2
appVersion: 1.9.0
created: "2024-01-03T14:32:28.192224+08:00"
description: A Helm chart for StarRocks operator
digest: fceda9fd08c0251192382bb3f463f0995e02fca48758b80d0a9c00c309594bfd
home: https://github.com/StarRocks/starrocks-kubernetes-operator
icon: https://avatars.githubusercontent.com/u/88238841
keywords:
- operator
- starrocks
- database
- olap
kubeVersion: '>=1.18.3-0'
maintainers:
- email: [email protected]
name: Kevin Cai
- email: [email protected]
name: SidaShen
- email: [email protected]
name: Dongxiao Yan
name: operator
sources:
- https://github.com/StarRocks/starrocks
type: application
urls:
- https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.9.0/operator-1.9.0.tgz
version: 1.9.0
- apiVersion: v2
appVersion: 1.8.8
created: "2023-12-19T14:04:39.39445+08:00"
Expand Down Expand Up @@ -577,6 +631,33 @@ entries:
- https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.8.0/operator-1.8.0.tgz
version: 1.8.0
starrocks:
- apiVersion: v2
appVersion: 3.1-latest
created: "2024-01-03T14:32:30.575527+08:00"
description: A Helm chart for StarRocks cluster
digest: 8264d6123327e9fc5a6bb406280eff18a36179fec566545fc81b180fe4d803af
home: https://github.com/StarRocks/starrocks-kubernetes-operator
icon: https://avatars.githubusercontent.com/u/88238841
keywords:
- operator
- starrocks
- database
- olap
kubeVersion: '>=1.18.3-0'
maintainers:
- email: [email protected]
name: Kevin Cai
- email: [email protected]
name: SidaShen
- email: [email protected]
name: Dongxiao Yan
name: starrocks
sources:
- https://github.com/StarRocks/starrocks
type: application
urls:
- https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.9.0/starrocks-1.9.0.tgz
version: 1.9.0
- apiVersion: v2
appVersion: 3.1-latest
created: "2023-12-19T14:04:41.634167+08:00"
Expand Down Expand Up @@ -820,4 +901,4 @@ entries:
urls:
- https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.8.0/starrocks-1.8.0.tgz
version: 1.8.0
generated: "2023-12-19T14:04:41.633353+08:00"
generated: "2024-01-03T14:32:30.574649+08:00"

0 comments on commit 3d362be

Please sign in to comment.