-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
pod failed to be created - cannot set an ownerRef on a resource you can't delete #922
Comments
Yes the error message is pretty clear on what needs to be done. I haven't seen this on K8s v1.10 on GKE. I searched the k8s codebase for this error message, and it appears to be related to the GC admission plugin. I think the fix should be simple:
I don't have a way to reproduce this. Can you confirm that by adding the |
@jessesuen after adding the following
After finding this openshift issue, I updated the clusterrole to:
This worked! |
Thanks for discovering this! I had no idea that |
BUG REPORT
What happened:
Triggered the hello-world workflow using Argo Events and the
workflow controller
encountered the following error stating:pods \"arguments-via-webhook-event\" is forbidden: cannot set an ownerRef on a resource you can't delete: User \"system:serviceaccount:dev-axis:argo-sa\" cannot delete pods in project
I'm assuming this has to do permissioning, but my cluster roles for
argo-sa
is in sync with the helm repo.What you expected to happen:
The worklfow to run.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Running on OpenShift
argo-sa
cluster role:Environment:
Other debugging information (if applicable):
The text was updated successfully, but these errors were encountered: