-
Notifications
You must be signed in to change notification settings - Fork 993
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssh plugin adds user flag #403
Comments
hm... how to change the ownership of |
Currently, the permission is 0600, which is decided by ssh. @chenyangxueHDU Do you mean you want to use a specific user instead of root in your docker images? |
I guess he is asking whether volcano could mount the ssh config file into a user default folder, for instance
|
Yes, it's the problem. I think we can pass uid/gid, then we can change the ownership |
yes, I use the |
I know, so it is a feature |
It makes sense, we can provide a user flag for ssh plugin to allow users pass a user, and make And we should also prevent users from setting |
Yes |
That's OK to me to have such feature, some HPC user would like to run application as no-root user. |
/assign |
what if I provide a non-exists user? |
Good question, the answer is job will definitely fail. |
/cc i'd like the ssh plugin can define the ssh key file path such as |
/cc @hzxuzhonghu , let's add a paramenter into |
OK |
Hello 👋 Looks like there was no activity on this issue for last 90 days. |
Closing for now as there was no activity for last 60 days after marked as stale, let us know if you need this to be reopened! 🤗 |
What happened:
The ssh plugin has --no-root flag for common user ssh, but I need to cp/link .ssh dir to user home dir.
What you expected to happen:
I would like to add --user flag to mount ssh configmap to user home dir, like --user=someone, mount .ssh to /home/users/someone/.ssh
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl version
):uname -a
):The text was updated successfully, but these errors were encountered: