Skip to content

Conversation

yandongxiao
Copy link
Collaborator

@yandongxiao yandongxiao commented Jan 17, 2025

Description

  • Removed unnecessary quotes around maxUnavailable in starrockscluster.yaml to ensure proper YAML parsing and value interpretation.
  • Added updateStrategy to the hashStatefulsetObject struct in statefulset.go to include update strategy in the hash calculation.

Fixes #615

Checklist

For operator, please complete the following checklist:

  • run make generate to generate the code.
  • run golangci-lint run to check the code style.
  • run make test to run UT.
  • run make manifests to update the yaml files of CRD.

For helm chart, please complete the following checklist:

  • make sure you have updated the values.yaml
    file of starrocks chart.
  • In scripts directory, run bash create-parent-chart-values.sh to update the values.yaml file of the parent
    chart( kube-starrocks chart).

 - Removed unnecessary quotes around `maxUnavailable` in `starrockscluster.yaml` to ensure proper YAML parsing and value interpretation.
 - Added `updateStrategy` to the `hashStatefulsetObject` struct in `statefulset.go` to include update strategy in the hash calculation.

Signed-off-by: yandongxiao <[email protected]>
@yandongxiao yandongxiao force-pushed the bugfix/update-strategy-of-sts branch from 51d9ba7 to b9b830a Compare January 17, 2025 05:56
@yandongxiao yandongxiao merged commit 0fdeb98 into StarRocks:main Jan 20, 2025
6 checks passed
@yandongxiao yandongxiao added v1.10.0 bugfix fix something that does not work labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix fix something that does not work v1.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The maxUnavailablePods field in values.yaml does not work
3 participants