diff options
| author | Max Resnick <max@ofmax.li> | 2020-03-05 21:01:13 -0800 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2020-03-05 21:01:13 -0800 |
| commit | 0fc577ea6654f0e655f0a2d18694f7ebf1fcfde1 (patch) | |
| tree | 780c85ee524ab2de802eb9e6cddcb70d47c1a8eb /grumpy/gitsnapshot/templates/cronjob.yaml | |
| parent | 745347bc347406a48c9e7cf20c17b8c3f1d8e961 (diff) | |
| download | grumpy-charts-0fc577ea6654f0e655f0a2d18694f7ebf1fcfde1.tar.gz | |
add gitsnapshot
Diffstat (limited to '')
| -rw-r--r-- | grumpy/gitsnapshot/templates/cronjob.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/grumpy/gitsnapshot/templates/cronjob.yaml b/grumpy/gitsnapshot/templates/cronjob.yaml index 7bb7f0e..553a2ce 100644 --- a/grumpy/gitsnapshot/templates/cronjob.yaml +++ b/grumpy/gitsnapshot/templates/cronjob.yaml @@ -19,10 +19,15 @@ spec: template: spec: restartPolicy: Never + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 10 }} + {{- end }} containers: - name: {{ .Chart.Name }} command: - - /opt/app/gitbackup.sh + - gitsnap + - backup - /var/lib/git/repositories - privategit image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" |