-
Notifications
You must be signed in to change notification settings - Fork 54
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
Workloads get new dynamic secrets by Vault when new replicas are created #149
Comments
We are having the same issue with database dynamics credentials. |
This was filed earlier, but I commented on #151 which shares a lot in common with this issue. I'd be interested to get thoughts on my comment there, as it seems like there could be some unintended consequences to sharing dynamic secrets among pods if it's done naively, but I'm open to feedback on that. One thing #151 doesn't cover is the fact that the Kuberentes secret object gets re-written a lot with the different values from each pod, which is a bit gross. Thanks for highlighting it. |
@braybaut, just to be clear every single pod that is referencing the I had imagined that each pod would get its own credential, but what you're describing does sound like a bug if they all have the same credential. Plus the 49 unused credentials. |
Update: We recently released the Vault Secrets Operator, which has a much better model for satisfying a "1 secret per deployment" pattern - you can define a |
Hi, wonderful people.
I'm using Vault to provide dynamic AWS secrets to on-prem Kubernetes clusters and reach AWS components, I created the storage class to get the credentials and I attach the volume to workload, so far so good, however when the workloads scale up to X replicas, the vault CSI get dynamic secrets to each new replica if I have 50 replicas I will have 50 new access key but, the vault secret object just keep the last AWS credentials.
I think it's a bug because doesn't make sense to have an access key for each replica,
is it expected behavior? should the storage class just get a dynamic secret for a workload with N replicas and rotate it through pull interval and TTL?
Thanks in advance.
The text was updated successfully, but these errors were encountered: