On 08.09.17 20:50, Ryan Lane wrote:
Hey Ryan,
> We've actually been looking at this at Lyft lately. The biggest issue
> with k8s at this point is that its native secret support stores data
> unencrypted, so it's not possible to simply fetch the creds and store
> them in k8s feature set. An initial approach we're likely to take is
> to use an initializer container that will write the credentials on
> disk (on a ram disk), where that location will be bind mounted into
> the appropriate container.
OK, that workaround is similar to what I've seen with vault.
> In the long term we have a couple considerations in mind:
>
> 1. Once k8s secrets have had major issues worked out (like encryption
> at rest, etc) we'd continue keeping secrets in confidant as the source
> of truth, and have it update k8s secrets on changes using kubectl.
> 2. Run a confidant client container in each pod to fetch and update
> secrets in the ram disk.
From what I've seen, there's quite some ongoing work on the secrets API
with vault integration as prototype for 1.8? or 1.9. Maybe one could use
that as a template for confidant integration.
Best wishes and thanks,
Martin