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

Feature Request: Force Synchronization of Secrets Managed by Other Resources #12

Open
marcosmamorim opened this issue Apr 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@marcosmamorim
Copy link

I'm proposing a new feature for the bitwarden-k8s-secrets-manager that would add the capability to force synchronize secrets even if they are currently managed by other resources. This feature would be particularly useful for migration scenarios where secrets initially set up by other applications (like Helm for Kubernetes deployments) need to be taken over and managed by bitwarden-k8s-secrets-manager.

Use Case Example:

Consider a scenario where an application is deployed using Helm, which automatically creates several secrets. Over time, it may become necessary to migrate the management of these secrets to bitwarden-k8s-secrets-manager. Currently, if a secret is already managed by Helm, there's no straightforward way to have bitwarden-k8s-secrets-manager take over without manual intervention.

@9strands
Copy link
Contributor

Hi, @marcosmamorim!

After discussion with @jkupferer - we're not sure this should be automated due to potential conflict between tools. Mostly, for something like helm, the process would be to remove the helm-labels so that helm will no longer attempt to touch it. So, it could be done, but we would just tell helm to ignore the resource in an update, and then either delete the secret (so bitwarden can recreate) or update the labels so bitwarden-k8s-secrets-manager would take over.

Do you have other thoughts on this?

@9strands 9strands added the enhancement New feature or request label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants