From 9c4a9400dac791aae94fd7ab0f25de195c5088a4 Mon Sep 17 00:00:00 2001 From: Valentin Fedoskin Date: Thu, 9 Apr 2020 12:40:59 +0200 Subject: [PATCH] fix service account creation for backups --- charts/gitlab-omnibus/Chart.yaml | 2 +- charts/gitlab-omnibus/README.md | 2 +- charts/gitlab-omnibus/templates/cronjob-backup.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/gitlab-omnibus/Chart.yaml b/charts/gitlab-omnibus/Chart.yaml index f002246..82986fa 100644 --- a/charts/gitlab-omnibus/Chart.yaml +++ b/charts/gitlab-omnibus/Chart.yaml @@ -3,7 +3,7 @@ name: gitlab-omnibus description: |- Helm chart to deploy [Omnibus Gitlab](https://docs.gitlab.com/omnibus/). type: application -version: 0.0.8 +version: 0.0.10 appVersion: "12.9.2-ee.0" home: https://github.com/slamdev/helm-charts/tree/master/charts/gitlab-omnibus icon: https://docs.gitlab.com/assets/images/gitlab-logo.svg diff --git a/charts/gitlab-omnibus/README.md b/charts/gitlab-omnibus/README.md index e8b44a1..29d7965 100644 --- a/charts/gitlab-omnibus/README.md +++ b/charts/gitlab-omnibus/README.md @@ -2,7 +2,7 @@ gitlab-omnibus ============== Helm chart to deploy [Omnibus Gitlab](https://docs.gitlab.com/omnibus/). -Current chart version is `0.0.8` +Current chart version is `0.0.10` Source code can be found [here](https://github.com/slamdev/helm-charts/tree/master/charts/gitlab-omnibus) diff --git a/charts/gitlab-omnibus/templates/cronjob-backup.yaml b/charts/gitlab-omnibus/templates/cronjob-backup.yaml index cc36904..e7a2ff3 100644 --- a/charts/gitlab-omnibus/templates/cronjob-backup.yaml +++ b/charts/gitlab-omnibus/templates/cronjob-backup.yaml @@ -26,7 +26,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 12 }} {{- end }} - serviceAccountName: {{ include "gitlab.serviceAccountName" . }} + serviceAccountName: {{ include "gitlab.fullname" . }}-backup restartPolicy: Never containers: - name: {{ .Chart.Name }}