Praefect ServiceAccount is not automatically created
Summary
When deploying GitLab chart with Praefect enabled and global.serviceAccount.enabled
set to true
. repo-gmz-praefect
StatefulSet
expect a ServiceAccount
named {{ .Release.Name }}-praefect
: https://gitlab.com/gitlab-org/charts/gitlab/-/blob/master/charts/gitlab/charts/praefect/templates/statefulset.yaml#L87
But the ServiceAccount
is never created. It seems that the template is missing from the praefect
chart.
Steps to reproduce
Deploy GitLab instance with the following parameters :
global.serviceAccount.enabled: true
global.serviceAccount.create: true
global.praefect.enabled: true
Configuration used
(Please provide a sanitized version of the configuration used wrapped in a code block (```yaml))
global:
praefect:
enabled: true
replaceInternalGitaly: false
autoMigrate: true
dbSecret:
secret: database-password
key: password
virtualStorages:
- name: praefect
gitalyReplicas: 3
maxUnavailable: 1
persistence:
enabled: true
size: 50Gi
# accessMode: ReadWriteOnce
# storageClass: default
psql:
user: gitlab
dbName: praefect
tls:
enabled: false
serviceAccount:
enabled: true
create: true
Current behavior
The ServiceAccount
is not created
Expected behavior
The ServiceAccount
should be created
Versions
- Chart: gitlab-5.7.0
- Platform:
- Cloud: Scaleway Kapsule
- Self-hosted: N/A
- Kubernetes: (
kubectl version
)- Client: v1.23.1
- Server: v1.23.1
- Helm: (
helm version
)- Client: v3.7.2
- Server: N/A
Relevant logs
(Please provide any relevant log snippets you have collected, using code blocks (```) to format)