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

Way to rebuild the secret when the credentials in the provider change? #8

Open
matteoolivi opened this issue Mar 15, 2022 · 2 comments

Comments

@matteoolivi
Copy link

Hello, is there a way/recommendation to have the plugin re-generate or update the secret when the referenced credentials in the provider change?

I see that such a functionality might be out of scope for this tool, and is rather something which should be handled by the automation that uses it. But just wondering if you have any thoughts on this.

@bbl
Copy link
Owner

bbl commented Mar 15, 2022

Hey! Thanks, that's a great question.

Maybe it makes sense to provide a detailed guide on usage patterns in combination with other tools.

E.g. We were using the plugin with ArgoCD. It regenerates the configuration every N minutes and shows the diff.

@matteoolivi
Copy link
Author

matteoolivi commented Mar 15, 2022

Maybe it makes sense to provide a detailed guide on usage patterns in combination with other tools.

That'd be great.

E.g. We were using the plugin with ArgoCD. It regenerates the configuration every N minutes and shows the diff.

So what you do is configure ArgoCD to resync everything every X minutes, and in doing so it also re-generates the credentials by reading the secrets from the provider (via the kustomize plugin) - and applies the new manifests in the cluster.
I assume you're not even using the ArgoCD plugin for the provider (e.g. vault) as it's superfluous, it's all taken care of by secretize. Is that right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants