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

Option to specify service account to run Argo workflow #532

Open
mocsharp opened this issue Oct 21, 2022 · 2 comments
Open

Option to specify service account to run Argo workflow #532

mocsharp opened this issue Oct 21, 2022 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@mocsharp
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

The current Argo plugin launches all jobs using the default user which requires the patch pod permission.

Describe the solution you'd like

We shall allow users to specify a service account in the workflow definition as an argument that gets passed to the Argo plugin.

@mocsharp mocsharp added the enhancement New feature or request label Oct 21, 2022
@mocsharp mocsharp added this to the 0.2.0 milestone Oct 21, 2022
@neildsouth
Copy link
Collaborator

I believe this is possible by setting it in the Argo definition workflow.spec.serviceAccountName

re. https://github.com/argoproj/argo-workflows/blob/7abead2a564876a695201cf7539bd20d1fc67888/docs/workflow-rbac.md

@woodheadio woodheadio modified the milestones: 0.2.0, 0.3.0 Jan 19, 2023
@woodheadio
Copy link
Collaborator

Moving this to the 0.3.0 milestone as this won't be done for 0.2.0, but as Neil suggests this can be configured in the Argo workflow Template.

We may have a future API call to add a ARGO Workflow template to ARGO, at which time, we will look to investigate this further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

3 participants