Skip to content
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

Add a flag to set RunAsUser #678

Closed
itsmurugappan opened this issue Feb 19, 2020 · 0 comments · Fixed by #679
Closed

Add a flag to set RunAsUser #678

itsmurugappan opened this issue Feb 19, 2020 · 0 comments · Fixed by #679
Assignees
Labels
kind/feature New feature or request
Milestone

Comments

@itsmurugappan
Copy link
Contributor

In what area(s)?

Describe the feature:

RunAsUser is a must for clusters which has pod security policies to check for non root users. Currently kn cli doesn't have an option to set the user running the container.
It will be a handy feature for clusters which have psp , afaik most organizations have it.

kn service create --image=foo --run-as-user 1001
@itsmurugappan itsmurugappan added the kind/feature New feature or request label Feb 19, 2020
itsmurugappan added a commit to itsmurugappan/client that referenced this issue Feb 19, 2020
itsmurugappan added a commit to itsmurugappan/client that referenced this issue Feb 19, 2020
@navidshaikh navidshaikh added this to the v0.13.0 milestone Feb 28, 2020
knative-prow-robot pushed a commit that referenced this issue Feb 28, 2020
* add run as user flag #678

* add run as user flag #678

* add changelog for pr 679

* review comments  for pr 679

* review comments  for pr 679

* add test for config changes

* add user flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants