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

Use metav1.SetMetadataAnnotation instead of secret.Annotations[] in ConfigSecret #706

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

burmanm
Copy link
Contributor

@burmanm burmanm commented Sep 17, 2024

What this PR does:
Fix ConfigSecret to use metav1.SetMetadataAnnotation which is safe against nil references in annotations

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

Checklist

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

@burmanm burmanm requested a review from a team as a code owner September 17, 2024 12:24
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.

Cass-operator crashes when using configSecret for Cassandra configuration
1 participant