-
Notifications
You must be signed in to change notification settings - Fork 72
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 ReplicatedSecrets to control Medusa bucket secrets replication into K8ssandraCluster namespaces #1238
base: main
Are you sure you want to change the base?
Conversation
I've marked out the places where I think these changes should take place, and commented with the specifics of the changes I intend to make. There is a slight issue to work around here as I've currently drafted the design. It relates to the fact that (in my current round of comments) I talk about creating a single ReplicatedSecret for a single MedusaConfig, but this probably won't work for the following reason;
As a result, I think we're going to have to
@adejanovski let me know if you agree with this approach, and with the locations in the code where I've proposed changes. I haven't worked on the Medusa Controller extensively, so your input is appreciated. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1238 +/- ##
==========================================
- Coverage 57.42% 57.39% -0.03%
==========================================
Files 103 103
Lines 10801 10791 -10
==========================================
- Hits 6202 6194 -8
+ Misses 4062 4061 -1
+ Partials 537 536 -1
|
6cd8d92
to
3a925ee
Compare
…conflict instances where the same source may target the same target multiple times due to presence of several clusters in the target namespace. Envtest for this functionality.
3a925ee
to
afd869d
Compare
Quality Gate passedIssues Measures |
@burmanm thinks there might be a way to create replicas of the Medusa StorageSecretRef without needing to add a new name-namespace type selector to identify the secret. We are going to catch up about this next week to see if we can progress this work. |
Closing as I no longer think this is required. |
What this PR does:
Switch to using ReplicatedSecrets to control replication of the medusa bucket secrets.
Which issue(s) this PR fixes:
Fixes #1217
#1260
Checklist