Oh, sorry, Kubernetes users was removed. Adding it back
On Friday, November 10, 2017, Rodrigo Campos <
rodr...@gmail.com> wrote:
So they will create the deployment and you want that user executing that?
Then i think this will work: just a template and modify those variables in the fly, and then send the modified yaml.
There are some tools for that, but if the case is so simple I'd use just a shell script (with sed or awk).
Does that solve it?
Say I am the linux user with the name "pier"
The volume mount in my pod fileis :
hostPath:
path: /nfs/data1/home/pier
As I have multiple users, I don't want user mounting /nfs/data1/home/pier all the time, but rather
/nfs/data1/home/<their_user_name>
Of course, it would not be too difficult to ask them to edit the pod yaml themselves. Just wondering whether I can do it for them by using their linux username in the pod file.