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

Watch secrets linked to a MedusaConfiguration to trigger reconciles #1179

Closed
3 tasks
adejanovski opened this issue Jan 19, 2024 · 1 comment
Closed
3 tasks
Labels
done Issues in the state 'done'

Comments

@adejanovski
Copy link
Contributor

adejanovski commented Jan 19, 2024

Secrets referenced in a MedusaConfiguration object should be watched by the MedusaConfiguration controller in order to update their status if a secret was deleted.

Such secrets need to have an owner reference set to the MedusaConfiguration object during the reconcile, which will then be used in the watcher handler.
One of the outcomes is that such a secret can be referenced by a single MedusaConfiguration. Any attempt to create a MedusaConfiguration object which tries to reference an already referenced secret should fail the reconcile and set the ControlStatusSecretAvailable condition to false with the appropriate message.

Definition of Done

@adejanovski
Copy link
Contributor Author

Replaced by #1253

@adejanovski adejanovski added done Issues in the state 'done' and removed ready Issues in the state 'ready' labels Apr 5, 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'
Projects
Archived in project
Development

No branches or pull requests

1 participant