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

Setting argo service account #12

Open
tomcordruw opened this issue Jun 13, 2024 · 1 comment
Open

Setting argo service account #12

tomcordruw opened this issue Jun 13, 2024 · 1 comment
Assignees

Comments

@tomcordruw
Copy link
Collaborator

tomcordruw commented Jun 13, 2024

In order to successfully initialise the pods for running the workflow, a ServiceAccount with sufficient rights has to be specified in the .yaml file. (Tested with argo_pf_start.yaml)
Otherwise it might present the following error:

Error (exit code 1): pods "process-name-prepare-template" is forbidden: User "system:serviceaccount:argo:default" cannot patch resource "pods" in API group "" in the namespace "argo"

The following line:

serviceAccountName: argo

can be added under "spec:" in the workflow's file to set it and successfully complete the initialisation process of the pods so they can run the jobs.

@subash-taranga
Copy link
Collaborator

I added this service account name but still get error

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

No branches or pull requests

2 participants