From 7ce68dfb0c48e16d69bf5083f8d1ece617c214d0 Mon Sep 17 00:00:00 2001
From: yandongxiao <yandongxiao@starrocks.com>
Date: Mon, 20 Nov 2023 19:48:30 +0800
Subject: [PATCH] [Chore] change related fields to release v1.8.7

Signed-off-by: yandongxiao <yandongxiao@starrocks.com>
---
 CHANGELOG.md                                  | 25 ++++++
 deploy/operator.yaml                          |  4 +-
 helm-charts/charts/kube-starrocks/Chart.yaml  |  2 +-
 .../kube-starrocks/charts/operator/Chart.yaml |  4 +-
 .../charts/operator/values.yaml               |  2 +-
 .../charts/starrocks/Chart.yaml               |  2 +-
 helm-charts/charts/kube-starrocks/values.yaml | 54 +++++++++++-
 index.yaml                                    | 83 ++++++++++++++++++-
 8 files changed, 167 insertions(+), 9 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index f88e5699..bf9f29a1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,30 @@
 # CHANGELOG
 
+## [v1.8.7](https://github.com/StarRocks/starrocks-kubernetes-operator/releases/tag/v1.8.7)
+
+Release Notes for starrocks-kubernetes-operator v1.8.7
+
+We are pleased to announce the release of starrocks-kubernetes-operator v1.8.7. This release includes several updates
+and improvements that enhance the functionality and usability of the StarRocks Kubernetes Operator.
+
+### Enhancement
+
+1. Added failure seconds for liveness and readiness. When StarRocks is under heavy load, the default Liveness Probe and
+   Readiness Probe may fail, causing the container to restart. This update mitigates this issue by adding failure
+   seconds for liveness and readiness.
+
+### Maintenance
+
+1. [Documentation] Updated README.md and README_ZH-CN.md. This update provides more accurate and comprehensive
+   information about StarRocks Operator.
+2. [Documentation]
+   Added [local_installation_how_to.md](https://github.com/StarRocks/starrocks-kubernetes-operator/blob/main/doc/local_installation_how_to.md)
+   for users. This guide provides step-by-step instructions for local installation of the Operator and StarRocks
+   Cluster. And it also provides a script to help users install the Operator and StarRocks Cluster locally.
+
+We encourage you to update to this new version and benefit from these improvements. As always, your feedback is very
+welcome.
+
 ## [v1.8.6](https://github.com/StarRocks/starrocks-kubernetes-operator/releases/tag/v1.8.6)
 
 Release Notes for starrocks-kubernetes-operator v1.8.6
diff --git a/deploy/operator.yaml b/deploy/operator.yaml
index 54704c19..7790e418 100644
--- a/deploy/operator.yaml
+++ b/deploy/operator.yaml
@@ -171,7 +171,7 @@ spec:
         kubectl.kubernetes.io/default-container: manager
       labels:
         app: kube-starrocks-operator
-        version: 1.8.6
+        version: 1.8.7
     spec:
       automountServiceAccountToken: true
       containers:
@@ -182,7 +182,7 @@ spec:
         env:
         - name: TZ
           value: Asia/Shanghai
-        image: "starrocks/operator:v1.8.6"
+        image: "starrocks/operator:v1.8.7"
         imagePullPolicy: Always
         name: manager
         securityContext:
diff --git a/helm-charts/charts/kube-starrocks/Chart.yaml b/helm-charts/charts/kube-starrocks/Chart.yaml
index 8406c52f..5dbcf8fb 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.8.6
+version: 1.8.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/charts/operator/Chart.yaml b/helm-charts/charts/kube-starrocks/charts/operator/Chart.yaml
index 6067f3d6..348d65cb 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.8.6
+version: 1.8.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.8.6
+appVersion: 1.8.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 88bc77c0..9aa0b226 100644
--- a/helm-charts/charts/kube-starrocks/charts/operator/values.yaml
+++ b/helm-charts/charts/kube-starrocks/charts/operator/values.yaml
@@ -32,7 +32,7 @@ starrocksOperator:
   image:
     # image sliced by "repository:tag"
     repository: starrocks/operator
-    tag: v1.8.6
+    tag: v1.8.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 16d61010..b58a2170 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.8.6
+version: 1.8.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 57b95840..eaf3985d 100644
--- a/helm-charts/charts/kube-starrocks/values.yaml
+++ b/helm-charts/charts/kube-starrocks/values.yaml
@@ -39,7 +39,7 @@ operator:
     image:
       # image sliced by "repository:tag"
       repository: starrocks/operator
-      tag: v1.8.6
+      tag: v1.8.7
     imagePullPolicy: Always
     replicaCount: 1
     resources:
@@ -255,8 +255,22 @@ starrocks:
       #   mountPath: /etc/my-configmap
       #   subPath: ""
     # terminationGracePeriodSeconds defines duration in seconds the FE pod needs to terminate gracefully.
+    # default value is 120 seconds
     terminationGracePeriodSeconds: 120
   
+    # Please upgrade the CRD with v1.8.7 released version, if you want to use the following configuration.
+    # including: startupProbeFailureSeconds, livenessProbeFailureSeconds, readinessProbeFailureSeconds
+  
+    # StartupProbeFailureSeconds defines the total failure seconds of startup Probe.
+    # default value is 300 seconds
+    startupProbeFailureSeconds:
+    # LivenessProbeFailureSeconds defines the total failure seconds of liveness Probe.
+    # default value is 15 seconds
+    livenessProbeFailureSeconds:
+    # ReadinessProbeFailureSeconds defines the total failure seconds of readiness Probe.
+    # default value is 15 seconds
+    readinessProbeFailureSeconds:
+  
   # spec for compute node, compute node provide compute function.
   starrocksCnSpec:
     # number of replicas to deploy for cn component.
@@ -416,8 +430,22 @@ starrocks:
       #   mountPath: /etc/my-configmap
       #   subPath: ""
     # terminationGracePeriodSeconds defines duration in seconds the CN pod needs to terminate gracefully.
+    # default value is 120 seconds
     terminationGracePeriodSeconds: 120
   
+    # Please upgrade the CRD with v1.8.7 released version, if you want to use the following configuration.
+    # including: startupProbeFailureSeconds, livenessProbeFailureSeconds, readinessProbeFailureSeconds
+  
+    # StartupProbeFailureSeconds defines the total failure seconds of startup Probe.
+    # default value is 300 seconds
+    startupProbeFailureSeconds:
+    # LivenessProbeFailureSeconds defines the total failure seconds of liveness Probe.
+    # default value is 15 seconds
+    livenessProbeFailureSeconds:
+    # ReadinessProbeFailureSeconds defines the total failure seconds of readiness Probe.
+    # default value is 15 seconds
+    readinessProbeFailureSeconds:
+  
   # spec for component be, provide storage and compute function.
   starrocksBeSpec:
     # number of replicas to deploy.
@@ -541,8 +569,22 @@ starrocks:
       #   mountPath: /etc/my-configmap
       #   subPath: ""
     # terminationGracePeriodSeconds defines duration in seconds the BE pod needs to terminate gracefully.
+    # default value is 120 seconds
     terminationGracePeriodSeconds: 120
   
+    # Please upgrade the CRD with v1.8.7 released version, if you want to use the following configuration.
+    # including: startupProbeFailureSeconds, livenessProbeFailureSeconds, readinessProbeFailureSeconds
+  
+    # StartupProbeFailureSeconds defines the total failure seconds of startup Probe.
+    # default value is 300 seconds
+    startupProbeFailureSeconds:
+    # LivenessProbeFailureSeconds defines the total failure seconds of liveness Probe.
+    # default value is 15 seconds
+    livenessProbeFailureSeconds:
+    # ReadinessProbeFailureSeconds defines the total failure seconds of readiness Probe.
+    # default value is 15 seconds
+    readinessProbeFailureSeconds:
+  
   # create secrets if necessary.
   secrets: []
     # e.g. create my-secret
@@ -616,3 +658,13 @@ starrocks:
       #   operator: "Equal|Exists"
       #   value: "value"
       #   effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
+  
+    # Please upgrade the CRD with v1.8.7 released version, if you want to use the following configuration.
+    # including: livenessProbeFailureSeconds, readinessProbeFailureSeconds
+  
+    # LivenessProbeFailureSeconds defines the total failure seconds of liveness Probe.
+    # default value is 15 seconds
+    livenessProbeFailureSeconds:
+    # ReadinessProbeFailureSeconds defines the total failure seconds of readiness Probe.
+    # default value is 15 seconds
+    readinessProbeFailureSeconds:
diff --git a/index.yaml b/index.yaml
index 8e68c7d0..6bbcbbbf 100644
--- a/index.yaml
+++ b/index.yaml
@@ -1,6 +1,33 @@
 apiVersion: v1
 entries:
   kube-starrocks:
+  - apiVersion: v2
+    appVersion: 3.1-latest
+    created: "2023-11-20T19:35:23.793957+08:00"
+    description: kube-starrocks includes two subcharts, operator and starrocks
+    digest: 878493f0041c1234995b6e446726f6b858f29f88aec7095d204c79dfe4b65198
+    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: caixiaohua@starrocks.com
+      name: Kevin Cai
+    - email: shensida@starrocks.com
+      name: SidaShen
+    - email: yandongxiao@starrocks.com
+      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.8.7/kube-starrocks-1.8.7.tgz
+    version: 1.8.7
   - apiVersion: v2
     appVersion: 3.1-latest
     created: "2023-11-08T10:21:32.068413+08:00"
@@ -279,6 +306,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.8.7
+    created: "2023-11-20T19:35:26.003284+08:00"
+    description: A Helm chart for StarRocks operator
+    digest: 61e5936fd6628f35313cad5e8357c87f6919fefe5e6ee00d5cbba51c5b822825
+    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: caixiaohua@starrocks.com
+      name: Kevin Cai
+    - email: shensida@starrocks.com
+      name: SidaShen
+    - email: yandongxiao@starrocks.com
+      name: Dongxiao Yan
+    name: operator
+    sources:
+    - https://github.com/StarRocks/starrocks
+    type: application
+    urls:
+    - https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.8.7/operator-1.8.7.tgz
+    version: 1.8.7
   - apiVersion: v2
     appVersion: 1.8.6
     created: "2023-11-08T10:21:34.1334+08:00"
@@ -469,6 +523,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: "2023-11-20T19:35:28.278734+08:00"
+    description: A Helm chart for StarRocks cluster
+    digest: f2094a70e3516b585382143a81072d88f295df0f0a25dd9465bc7ace42dbd982
+    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: caixiaohua@starrocks.com
+      name: Kevin Cai
+    - email: shensida@starrocks.com
+      name: SidaShen
+    - email: yandongxiao@starrocks.com
+      name: Dongxiao Yan
+    name: starrocks
+    sources:
+    - https://github.com/StarRocks/starrocks
+    type: application
+    urls:
+    - https://github.com/StarRocks/starrocks-kubernetes-operator/releases/download/v1.8.7/starrocks-1.8.7.tgz
+    version: 1.8.7
   - apiVersion: v2
     appVersion: 3.1-latest
     created: "2023-11-08T10:21:36.689513+08:00"
@@ -658,4 +739,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-11-08T10:21:36.687724+08:00"
+generated: "2023-11-20T19:35:28.27701+08:00"