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

Fix the case when cluster names contain spaces #346

Closed

Conversation

adejanovski
Copy link
Contributor

What this PR does:
Removes spaces from cluster names that have some when using that name in labels for services.

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

Checklist

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

Such names weren't sanitized in the generated labels, which created invalid labels.
@adejanovski adejanovski requested a review from a team as a code owner June 10, 2022 15:25
@burmanm
Copy link
Contributor

burmanm commented Jun 10, 2022

#339 is fixing this already with the regex approach (it isn't just whitespace that's the issue).

@adejanovski
Copy link
Contributor Author

agreed, Jeff's PR is better, let's use it.

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-1552 ⁃ Cluster names with spaces will prevent DC deployment
2 participants