Handling Secrets with GitOps #96
Replies: 5 comments 14 replies
-
Super excited about the CSI driver. Even when I'm pretty new to the whole k8s world this looks like a great solutions. Used it a couple weeks back in combination with AWS Parameter Store to mount these as ENVs and syncing them as Kubernetes Secrets. Not in production yet but getting our feet wet with it already. The integration worked pretty flawlessly (after reading the docs a little more closely 😅 ). |
Beta Was this translation helpful? Give feedback.
-
When it comes to keeping secrets in GitOps, I see two approaches:
When you talk about secrets, do you mean passwords, API keys, ..? |
Beta Was this translation helpful? Give feedback.
-
This is just my opinion but I prefer not to keep any secret data in git as I feel like its potentially prone to exposure. Especially if local git hooks aren't configured properly. I guess an example of this is making sure a file is ansible vaulted before commiting (Something I have done 😞 ). We currently just upgraded to using the external-secrets operator and have been happy with it so far. It's nice how you can now scope secret stores at the cluster level and the namespace level. Something else we have started looking at is the ArgoCD Vault Plugin. Which has more backends now than just vault. This tool is nice if you have custom resources that do not yet have the ability to reference a secret. |
Beta Was this translation helpful? Give feedback.
-
I wrote this in DevOps'ish last week:
|
Beta Was this translation helpful? Give feedback.
-
We created this issue during today's meeting: This is just to get the ball rolling moving this discussion into an actual work product. For now, moved to website repo, in case we want for example a blog post. We can either move that create another issue from here to the documents repo if we want a lasting document there. This will allow us to collaborate on the idea. We can also of course continue discussing here, but let's try to make something from this 😄 |
Beta Was this translation helpful? Give feedback.
-
Handling secrets with GitOps is becoming a frequent question and starting to become a problem. Some secrets solutions like sops and external-secrets are in various states of decay.
Luckily, this is in alpha and I feel like this will be our future answer: https://secrets-store-csi-driver.sigs.k8s.io/getting-started/installation.html
Despite being alpha, the Big 3 cloud providers (AWS, Azure, GCP and bonus, Hashicorp Vault) all have providers.
Beta Was this translation helpful? Give feedback.
All reactions