serviceaccounts already exists when creating ServiceAccount with name:
Summary
When deploying GitLab with chart and creating SA with any name:
the deployement fails with the below error:
➜ Local helm upgrade --install -f values.yaml -n gitlab gitlab gitlab/gitlab
Release "gitlab" does not exist. Installing it now.
Error: serviceaccounts "gitlab" already exists
ServiceAccont:
global:
nodeSelector:
kubernetes.io/arch: amd64
node.kubernetes.io/instance-type: r6a.2xlarge
serviceAccount:
enabled: true
name: gitlab
create: true
You should be able to create ServiceAccount with the name gitlab
.
Helm version: v3.6.3 Chart version: latest
Steps to reproduce
Deploy gitlab via chart with the below values:
helm upgrade --install -f values.yaml -n gitlab gitlab gitlab/gitlab
global:
hosts:
domain: gitlab.example.com
externalIP: 00.00.00.00
serviceAccount:
enabled: true
create: true
annotations: {}
## Name to be used for serviceAccount, otherwise defaults to chart fullname
name: gitlab
certmanager-issuer:
email: example@example.com
postgresql:
image:
tag: 13.6.0
Edited by Julius Kvedaras