Closed codificat closed 7 years ago
@rthallisey @fabianvf @eriknelson this is related to the chat we had yesterday. Does that sound reasonable?
This came up in review. Will require broker change. But this is more appropriate for writ temporary files.
About requiring a broker change: isn't the broker unaware of the location of the temporary credentials file? If I understood correctly, the broker just execs into the container and runs broker-bind-creds
, no?
When running under an arbitrary UID (e.g. under the default restricted OpenShift SCC) we can't write to
/etc/apb
, so we get failures like:A suggestion is to use
/var/tmp
instead of/etc/apb
as a place to store the temporary credentials file.Alternatively we could [ab]use the group ID and make
/etc/apb
writable, but/var/tmp
sounds like a better place for temporary data anyway and doesn't need special tweaks.