diff --git a/charts/gitlab-omnibus/Chart.yaml b/charts/gitlab-omnibus/Chart.yaml index 02c2a09..6138930 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.6 +version: 0.0.7 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 5a7cb82..6cfdbc2 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.6` +Current chart version is `0.0.7` Source code can be found [here](https://github.com/slamdev/helm-charts/tree/master/charts/gitlab-omnibus) @@ -15,7 +15,7 @@ Source code can be found [here](https://github.com/slamdev/helm-charts/tree/mast | affinity | object | `{}` | affinity for scheduler pod assignment | | backupCronJob.command | list | `["gitlab-backup","create","SKIP=uploads,builds,artifacts,registry,pages","GZIP_RSYNCABLE=yes","STRATEGY=copy"]` | command to execute in gitlab container | | backupCronJob.enabled | bool | `true` | enable scheduled backups | -| backupCronJob.image | string | `"wernight/kubectl"` | image | +| backupCronJob.image | string | `"daedalusproject/base_kubectl"` | image | | backupCronJob.schedule | string | `"@daily"` | how often to run backaup job | | env | list | `[]` | environment variables for the container | | envFrom | list | `[]` | environment variable sources for the container | diff --git a/charts/gitlab-omnibus/templates/cronjob-backup.yaml b/charts/gitlab-omnibus/templates/cronjob-backup.yaml index b96dbc0..cc36904 100644 --- a/charts/gitlab-omnibus/templates/cronjob-backup.yaml +++ b/charts/gitlab-omnibus/templates/cronjob-backup.yaml @@ -31,6 +31,8 @@ spec: containers: - name: {{ .Chart.Name }} image: {{ .Values.backupCronJob.image }} + command: + - kubectl args: - exec - sts/{{ include "gitlab.fullname" . }} diff --git a/charts/gitlab-omnibus/values.yaml b/charts/gitlab-omnibus/values.yaml index 9577a81..8b98719 100644 --- a/charts/gitlab-omnibus/values.yaml +++ b/charts/gitlab-omnibus/values.yaml @@ -138,7 +138,7 @@ backupCronJob: # backupCronJob.schedule -- how often to run backaup job schedule: "@daily" # backupCronJob.image -- image - image: wernight/kubectl + image: daedalusproject/base_kubectl # backupCronJob.command -- command to execute in gitlab container command: - gitlab-backup