4 ms·
Kubernetes External Secrets
- cmdc0de 8y agoNice, much needed add
- pizza_guy 8y agoThis is awesome!
- deleted 8y ago[deleted]
- kelseyhightower 8y agoKubernetes External Secrets essentially copies secrets from an external source, in this case AWS Secrets Manager, and creates a native Kubernetes secret in the same namespace where the ExternalSecret custom object was defined. Kubernetes is being leveraged as a secrets cache and transport layer, with just enough access control thanks to the built-in RBAC functionality. Kubernetes is not the source of truth for the contents of the secret, but provides APIs for referencing, and ultimately transmitting cached secrets to containers under management. I like this approach. Nice and simple. I do have one suggestion that might improve External Secrets for use with multiple clusters. By running the External Secrets "control plane" inside the Kubernetes cluster you end up with what I described above. Now consider the case where you have multiple Kubernetes clusters in the same environment -- HA across multiple regions in production. You have a few options on how to leverage External Secrets in this context. The obvious approach is to deploy the "control plane" across every cluster. There are pros and cons. While you have the ability to do a canary roll out of the External Secrets control plane across multiple clusters, you also take up compute resource across every cluster, and must store the credentials required for the External Secrets control plane to sync secrets from an external store. The other option would be to enable the External Secrets control plane to live outside of any individual Kubernetes cluster and work as a "global control plane". In this configuration the External Secrets control plane can push secrets across multiple clusters. Users can still define ExternalSecrets objects in each cluster, but you now have the ability to support "global" ExternalSecrets objects which are replicated to every cluster, or a limited set of clusters and namespaces based on configuration. You can still host the External Secrets control plane using Kubernetes, but in a "admin" cluster, which is separate from the clusters where normal applications are deployed.
- silasbw 8y agoHey, thanks for the feedback and great suggestion. Made an issue to track on github: https://github.com/godaddy/kubernetes-external-secrets/issues/45 https://github.com/godaddy/kubernetes-external-secrets/issue...
- _eht 8y agoNow if only we could convince Bob that villages in Africa don't need him to go over and shoot elephants for them...
- beadnall 8y agoBob Parsons is no longer affiliated with GoDaddy.
- _eht 8y ago<strike>Still on the board and is the largest share holder. Your statement is patently false; .5ms worth of research is not much when you're making such a bold statement.</strike> edit: Apologies; you were correct. Now is a good chance if anyone wants to update his Wikipedia page.
- huskanani 8y agohttps://www.bizjournals.com/phoenix/news/2018/10/03/bob-parsons-to-step-down-from-godaddy-board.html https://www.bizjournals.com/phoenix/news/2018/10/03/bob-pars... He is no longer on the board, and I believe he is full divested (but that's harder to look up). Your statement is patently false; .5ms worth of research is not much when you're making such a bold statement.
- _eht 8y agoFair enough. >.5ms is needed for this.
- paulddraper 8y agoBob? I think you commented on the wrong article.
- bdcravens 8y agoFounder of GoDaddy https://en.wikipedia.org/wiki/Bob_Parsons https://en.wikipedia.org/wiki/Bob_Parsons
- zefool 8y agoWe're building something similar at work. There is actually an implementation of the very same mechanism using the operator framework. Here's the link: https://github.com/mumoshu/aws-secret-operator https://github.com/mumoshu/aws-secret-operator Were you aware of this project? If so, why did you go for this implementation?
- GloomyVegetable 7y agoI don't think they were aware, but someone pointed it out in this issue: https://github.com/godaddy/kubernetes-external-secrets/issues/47 https://github.com/godaddy/kubernetes-external-secrets/issue...