aboutsummaryrefslogtreecommitdiff
path: root/grumpy
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--grumpy/gitsnapshot/Chart.yaml4
-rw-r--r--grumpy/gitsnapshot/templates/cronjob.yaml7
-rw-r--r--grumpy/gitsnapshot/values.yaml7
3 files changed, 12 insertions, 6 deletions
diff --git a/grumpy/gitsnapshot/Chart.yaml b/grumpy/gitsnapshot/Chart.yaml
index 1a5065c..f1067a8 100644
--- a/grumpy/gitsnapshot/Chart.yaml
+++ b/grumpy/gitsnapshot/Chart.yaml
@@ -1,5 +1,5 @@
apiVersion: v1
-appVersion: "1.0"
+appVersion: "0.0.1"
description: A Helm chart for Kubernetes
name: gitsnapshot
-version: 0.1.0
+version: 0.2.0
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 }}"
diff --git a/grumpy/gitsnapshot/values.yaml b/grumpy/gitsnapshot/values.yaml
index 585f7dd..3a22d1a 100644
--- a/grumpy/gitsnapshot/values.yaml
+++ b/grumpy/gitsnapshot/values.yaml
@@ -5,11 +5,12 @@
replicaCount: 1
image:
- repository: registry.gitlab.com/grumps/gitsnapshot
- tag: latest
+ repository: registry.gitlab.com/grumps/grumpy-containers/git-snapshot
+ tag: v0.0.3
pullPolicy: Always
-imagePullSecrets: []
+imagePullSecrets:
+ - name: gitlabsec
nameOverride: ""
fullnameOverride: ""