k3s-configs/apps/gitea/restic/debug-pod.yaml

29 lines
701 B
YAML
Raw Normal View History

2024-02-01 17:31:02 +00:00
apiVersion: v1
kind: Pod
metadata:
name: restic-debug-pod
namespace: gitea
spec:
serviceAccountName: restic-sa
volumes:
- name: restic-backup-vol
persistentVolumeClaim:
claimName: restic-backup-vol
- name: gitea-data
persistentVolumeClaim:
claimName: gitea-shared-storage
containers:
- name: restic-debug
2024-06-05 09:34:32 +00:00
image: git.namesny.com/cluster/restic:latest@sha256:8efb9776d9b3250012d17bbfff865420e5ffa0688010d006448c4ff358b0ee32
2024-02-01 17:31:02 +00:00
command: ["/bin/sh", "-c"]
args: ["sleep infinity"]
envFrom:
- secretRef:
name: restic-secret
volumeMounts:
- name: restic-backup-vol
mountPath: /backup
- name: gitea-data
mountPath: /gitea