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

New leases are generated roughly once per second for DatabaseSecretEngineRole used with VaultSecret #138

Open
ameyp opened this issue Apr 17, 2023 · 1 comment

Comments

@ameyp
Copy link
Contributor

ameyp commented Apr 17, 2023

I have a single DatabaseSecretEngineRole CR in my cluster, and I'm using it to generate a secret using a VaultSecret CR. I see that roughly one new lease is generated for that database role, every second.

This seems excessive.

@ameyp
Copy link
Contributor Author

ameyp commented Apr 22, 2023

Some more info - I believe this is because the VaultSecret I created uses dynamic credentials from the database role as well as static secrets from a KV mount. I created a separate secret that only uses dynamic credentials from the database role, and that seems to work just fine.

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

1 participant