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

Allow ReplicatedSecrets's targets to have a prefix #1242

Closed
Miles-Garnsey opened this issue Mar 12, 2024 · 0 comments · Fixed by #1243
Closed

Allow ReplicatedSecrets's targets to have a prefix #1242

Miles-Garnsey opened this issue Mar 12, 2024 · 0 comments · Fixed by #1243
Labels
done Issues in the state 'done' enhancement New feature or request

Comments

@Miles-Garnsey
Copy link
Member

What is missing?

We should allow the target secret's name for a replicated secret to have a prefix which distinguishes it from other replicatedSecrets with the same name that may target the same namespace.

This is so that multiple K8ssandraCluster's residing in the same namespace do not create multiple ReplicatedSecrets which then conflict with one another due to having the same name.

Why do we need it?

This issue will be easier to solve if we can create multiple ReplicatedSecrets at the MedusaConfig's origin which then map to multiple secrets prefixed with the cluster name in the target. In the case that multiple clusters exist in the target context-namespace this could cause conflicts and competition between the reconcile loops for the clusters unless we can distinguish the secrets via their names with a prefix.

Environment

  • K8ssandra Operator version:

    Insert image tag or Git SHA here

Anything else we need to know?:

@Miles-Garnsey Miles-Garnsey added the enhancement New feature or request label Mar 12, 2024
@adejanovski adejanovski added ready-for-review Issues in the state 'ready-for-review' review Issues in the state 'review' and removed ready-for-review Issues in the state 'ready-for-review' labels Mar 18, 2024
@adejanovski adejanovski added done Issues in the state 'done' and removed review Issues in the state 'review' labels Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done Issues in the state 'done' enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants