On Tue, Jul 19, 2016 at 01:41:04PM +0200, Gurvinder Singh wrote:
> On 07/19/2016 01:10 PM, Rodrigo Campos wrote:
> > Yes, it's not supported.
> > 
> > The alternative I see is making /etc/passwd a Symlink. So, you mount the
> > secret in /etc/secret/ (to say something) and the container image has a
> > Symlink pointing /etc/passwd to /etc/secret/passwd.
> Well that will work, but I do not control all the container images which
> users will run. So having option to project the file can help. This is

Ohh, didn't expect that. But ok.

In any case, for /etc/passwd, are you aware that you can get a prompt by doing
`kubectl exec -ti <pod> bash`?

> useful not only for passwd case but other configuration cases too where
> a program except the config file to a certain directory path with other
> files in that dir.

Yep, that is useful

> 
> Any plans to add this feature.

Not that I'm aware of, but I'm a simple user :)



Thanks,
Rodrigo

-- 
You received this message because you are subscribed to the Google Groups 
"Containers at Google" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-containers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to