Fix wrong restic spec
This commit is contained in:
parent
7a7fc88c6f
commit
baba6323db
|
@ -11,6 +11,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
|
|
||||||
serviceAccountName: restic-sa
|
serviceAccountName: restic-sa
|
||||||
|
hostname: restic-cronjob
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: gitea-data
|
- name: gitea-data
|
||||||
|
@ -40,7 +41,6 @@ spec:
|
||||||
|
|
||||||
containers:
|
containers:
|
||||||
- name: restic-container
|
- name: restic-container
|
||||||
hostname: restic-cronjob
|
|
||||||
image: git.namesny.com/cluster/restic:latest
|
image: git.namesny.com/cluster/restic:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
command: ["/bin/sh", "/app/backup.sh"]
|
command: ["/bin/sh", "/app/backup.sh"]
|
||||||
|
|
Loading…
Reference in New Issue