Skip to content

Commit

Permalink
use newer kubectl image
Browse files Browse the repository at this point in the history
  • Loading branch information
slamdev committed Apr 6, 2020
1 parent a1476a2 commit 7d24a24
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/gitlab-omnibus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions charts/gitlab-omnibus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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 |
Expand Down
2 changes: 2 additions & 0 deletions charts/gitlab-omnibus/templates/cronjob-backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.backupCronJob.image }}
command:
- kubectl
args:
- exec
- sts/{{ include "gitlab.fullname" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/gitlab-omnibus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d24a24

Please sign in to comment.