InseeFrLab / InseeFrLab/helm-charts-automation

Argo workflow : set default service account

Open
#72 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Mustache
Stars
5
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Hi !

For a reason I could not figure out, workflows without serviceaccountname does not work anymore on our `0.3.8` version (was working fine on `0.3.6`) as argoworkflows uses default serviceaccount which has no permissions.
We should set the default serviceaccount to `workflow` (which has enough permissions) by using workflowdefaults : https://github.com/argoproj/argo-helm/blob/c4d79885816f09214287e39cc36bee06d1411278/charts/argo-workflows/values.yaml#L194

```
workflowDefaults:
spec:
serviceAccountName: workflow
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the referenced Argo Workflows values.yaml workflowDefaults section and locate the corresponding chart configuration entry point. Set the default service account to workflow, then verify that workflows without an explicit service account use it as expected for the 0.3.8 behavior described.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.