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

fix: submitting cluster workflow template on namespaced install returns error #7437

Merged
merged 4 commits into from
Dec 18, 2021

Conversation

dpadhiar
Copy link
Member

fixes #7266

Example output:

Name:                cluster-workflow-template-hello-world-lk5vb
Namespace:           argo
ServiceAccount:      unset (will run with the default ServiceAccount)
Status:              Error
Message:             cannot get resource clusterWorkflowTemplate at cluster scope
Conditions:          
Completed           True
Created:             Fri Dec 17 09:20:15 -0800 (1 minute ago)
Started:             Fri Dec 17 09:21:19 -0800 (1 second ago)
Finished:            Fri Dec 17 09:21:19 -0800 (1 second ago)
Duration:            0 seconds
Progress:            0/0

This workflow does not have security context set. You can run your workflow pods more securely by setting it.
Learn more at https://argoproj.github.io/argo-workflows/workflow-pod-security-context/

Signed-off-by: Dillen Padhiar <dpadhiar99@gmail.com>
@sarabala1979 sarabala1979 enabled auto-merge (squash) December 17, 2021 18:29
@sarabala1979
Copy link
Member

@dpadhiar Can you. add. test. for this?

Signed-off-by: Dillen Padhiar <dpadhiar99@gmail.com>
auto-merge was automatically disabled December 17, 2021 22:42

Head branch was pushed to by a user without write access

@dpadhiar
Copy link
Member Author

@dpadhiar Can you. add. test. for this?

Yes, test case added.

Signed-off-by: Dillen Padhiar <dpadhiar99@gmail.com>
Signed-off-by: Dillen Padhiar <dpadhiar99@gmail.com>
@sarabala1979 sarabala1979 merged commit dd77dc9 into argoproj:master Dec 18, 2021
@alexec alexec mentioned this pull request Jan 27, 2022
4 tasks
@sarabala1979 sarabala1979 mentioned this pull request Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Submitting Cluster Workflow Template using namespaced install fails immediately with runtime error
2 participants