-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Submitting from a WorkflowTemplate shows incorrect serviceAccount and securityContext nag #7726
Comments
I can only assume the test at
argo-workflows/cmd/argo/commands/get.go Line 121 in 1159afc
|
@tyrken this is a CLI problem? @sarabala1979 can I check my logic here? If you have |
@tyrken I think you've found the bug, do you want to fix it? I think we'd benefit from a func named: func (w *Workflow) GetExecSpec() *WorkflowSpec That would return |
yes cli should use |
Dillen is going submit the PR for this |
I think it is a CLI only issue, and thanks-in-advance to Dillen! |
Yes it is a CLI issue. Dillen will fix it
…Sent from my iPhone
On Feb 5, 2022, at 7:24 AM, Tristan Keen ***@***.***> wrote:
I think it is a CLI only issue, and thanks-in-advance to Dillen!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
|
Summary
Starting a Workflow from a WorkflowTemplate brings up the security nag "This workflow does not have security context set. ..." - even if the WorkflowTemplate defines a securityContext. I've also (just) noticed that the serviceAccount is also shown as "default" even though I'm running with one (currently having to as using PNS).
What version of Argo Workflows are you running?
Running with v3.2.7 client & v3.2.6 server
Diagnostics
Example WorkflowTemplate
Example command & output:
What Kubernetes provider are you using? EKS
What executor are you running? PNS
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered: