How do I specify resulting permissions of openshift origin secret files?

5/21/2016

I'd like to know if there is a way to specify permissions for files defined in a Secret. For instance, we defined a keyfile for mongodb and we want it to have permissions as specified in a manual - 600, is there a way to achieve that?

-- artifex
kubernetes
mongodb
openshift
openshift-origin

1 Answer

5/21/2016

That is not currently possible. https://github.com/kubernetes/kubernetes/issues/4789 is open to improve control over how Secret data is mounted into a container.

-- Jordan Liggitt
Source: StackOverflow