Add digests to gitea restic containers
This commit is contained in:
parent
ab2fb7864c
commit
a50e76e82e
|
@ -26,7 +26,7 @@ spec:
|
||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: postgres-dump-init
|
- name: postgres-dump-init
|
||||||
image: bitnami/postgresql:15.3.0-debian-11-r24
|
image: bitnami/postgresql:15.3.0-debian-11-r24@sha256:fff6086d557d962422c6d751b6723877642170bbcc25d6f23e5c2c2f079987d5
|
||||||
command: ["/bin/sh", "-c"]
|
command: ["/bin/sh", "-c"]
|
||||||
args: ["pg_dump -h gitea-postgresql -p 5432 -U gitea gitea -Fc > /backup/postgres_backup.dump"]
|
args: ["pg_dump -h gitea-postgresql -p 5432 -U gitea gitea -Fc > /backup/postgres_backup.dump"]
|
||||||
env:
|
env:
|
||||||
|
@ -41,7 +41,7 @@ spec:
|
||||||
|
|
||||||
containers:
|
containers:
|
||||||
- name: restic-container
|
- name: restic-container
|
||||||
image: git.namesny.com/cluster/restic:latest
|
image: git.namesny.com/cluster/restic:latest@sha256:8efb9776d9b3250012d17bbfff865420e5ffa0688010d006448c4ff358b0ee32
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
command: ["/bin/sh", "/app/backup.sh"]
|
command: ["/bin/sh", "/app/backup.sh"]
|
||||||
envFrom:
|
envFrom:
|
||||||
|
|
Loading…
Reference in New Issue