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

Argo UI and Workflow container pods running as root users #1824

Closed
idristarwala opened this issue Dec 9, 2019 · 2 comments · Fixed by #4184
Closed

Argo UI and Workflow container pods running as root users #1824

idristarwala opened this issue Dec 9, 2019 · 2 comments · Fixed by #4184
Assignees
Labels
type/feature Feature request type/security Security related
Milestone

Comments

@idristarwala
Copy link

Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST :- Set the user in the argo container pods to be nonRoot.
What happened:
We are evaluating Argo tools for our use-case, our kubernetes clusters are built with pod-securities enabled. Which means no pod can run as root. The argo tool container images are by default running as root. As a result we are unable to directly use the image out of the box.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Argo version:
$ argo version
  • Kubernetes version :
$ kubectl version -o yaml

Other debugging information (if applicable):

  • workflow result:
$ argo get <workflowname>
  • executor logs:
$ kubectl logs <failedpodname> -c init
$ kubectl logs <failedpodname> -c wait
  • workflow-controller logs:
$ kubectl logs -n argo $(kubectl get pods -l app=workflow-controller -n argo -o name)
@idristarwala
Copy link
Author

we would be happy to submit PRs enhancing the docker files to use a nonRoot user instead of the default root user.

@sarabala1979 sarabala1979 added the type/feature Feature request label Dec 9, 2019
@sarabala1979
Copy link
Member

l will leave @jessesuen to comment on this enhancement.

@alexec alexec self-assigned this Oct 1, 2020
@alexec alexec added this to the v2.12 milestone Oct 1, 2020
alexec added a commit to alexec/argo-workflows that referenced this issue Oct 1, 2020
alexcapras pushed a commit to alexcapras/argo that referenced this issue Nov 12, 2020
…4184)

Signed-off-by: Alex Capras <alexcapras@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Feature request type/security Security related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants