Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not try to update the ServiceName in existing StatefulSets #105

Merged
merged 3 commits into from
May 26, 2021

Conversation

burmanm
Copy link
Contributor

@burmanm burmanm commented May 26, 2021

What this PR does:
If existing StatefulSet is modified, do not try to update the ServiceName.

Which issue(s) this PR fixes:
Fixes #103

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CHANGELOG.md updated (not required for documentation PRs)
  • CLA Signed: DataStax CLA

@burmanm
Copy link
Contributor Author

burmanm commented May 26, 2021

config_secret passed when ran separately, so just flaky in the GHA.

@burmanm
Copy link
Contributor Author

burmanm commented May 26, 2021

As well as UpgradeTest in k8ssandra

@burmanm burmanm merged commit fa0b5e6 into k8ssandra:master May 26, 2021
burmanm added a commit that referenced this pull request May 26, 2021
* Do not try to update the ServiceName in existing StatefulSets

* Fix existing unit tests

* Add small test to verify the ServiceName is not modified by the newStatefulSetForCassandraDatacenter

(cherry picked from commit fa0b5e6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

K8SSAND-483 ⁃ Updating Statefulsets is broken when upgrading to 1.7.0
2 participants