-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Artifact Garbage Collect UID in artgc pod should not be defined by default #14279
Labels
Comments
When we deploy OpenShift, the UID range change at each new project. I don't want to hard-code the UID as written in the workaround above. Instead it should be empty and then we get no issue at all! |
Related to #12316 |
antoinetran
added a commit
to antoinetran/argo-workflows
that referenced
this issue
Mar 10, 2025
Fixes argoproj#14279 Signed-off-by: antoinetran <[email protected]>
antoinetran
added a commit
to antoinetran/argo-workflows
that referenced
this issue
Mar 10, 2025
Signed-off-by: antoinetran <[email protected]>
antoinetran
added a commit
to antoinetran/argo-workflows
that referenced
this issue
Mar 10, 2025
Signed-off-by: antoinetran <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pre-requisites
:latest
image tag (i.e.quay.io/argoproj/workflow-controller:latest
) and can confirm the issue still exists on:latest
. If not, I have explained why, in detail, in my description below.What happened? What did you expect to happen?
In OpenShift environment, the artgc pod is in error because by default the UID 8737 is set at https://github.com/argoproj/argo-workflows/blob/v3.6.4/workflow/common/security_context.go#L13
I expect the UID to not be set by default, so that:
Workaround:
It is possible to override that.
According to doc #11485 it is possible to override the pod definition of artgc, to be set in values.yaml of helm chart:
I also tried many other things like
runAsUser: null
,runAsUser: "null"
,runAsUser: "null"
,runAsUser: ""
but none of these deletes the 8737 UID.Also tried strategic merge patch:
This will result in UID=8737.
Version(s)
v3.6.4
Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflow that uses private images.
Any helloworld that has artifact S3 as output.
Logs from the workflow controller
Logs from in your workflow's wait container
The text was updated successfully, but these errors were encountered: