-
Notifications
You must be signed in to change notification settings - Fork 80
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
Add cluster label to Medusa controllers selectors when listing pods #1133
Conversation
19a4cbd
to
0755b57
Compare
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: cluster2-medusa | ||
data: | ||
password: MjdrdU5adHQ3Q1YxYjJCWlZuN2c= | ||
username: Y2x1c3RlcjItbWVkdXNh | ||
type: Opaque | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: cluster2-superuser | ||
data: | ||
password: dGVzdGVycw== | ||
username: dGVzdDJAdGVzdC5jb20= | ||
type: Opaque |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to create those secrets because using default secrets seems to create a race condition where they will be deleted upon deletion of the K8ssandraCluster objects before the cassdc objects are deleted, but then cass-operator complains that the secrets are missing and cannot run its finalizers.
aab13fd
to
9dfef68
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
What this PR does:
Properly filters Cassandra pods using both the cluster and dc labels.
Which issue(s) this PR fixes:
Fixes #1132
Checklist