k3s/data-restorer.yaml

18 lines
411 B
YAML
Raw Normal View History

2026-06-11 13:49:15 -04:00
apiVersion: v1
kind: Pod
metadata:
name: data-restorer
namespace: matrix
2026-06-11 13:49:15 -04:00
spec:
containers:
- name: alpine
image: alpine:latest
2026-06-17 14:59:59 -04:00
command: ["/bin/sh", "-c", "apk add --no-cache vim rsync coreutils sqlite postgresql && sleep infinity"]
2026-06-11 13:49:15 -04:00
volumeMounts:
- mountPath: /restore
name: target-volume
volumes:
- name: target-volume
persistentVolumeClaim:
claimName: postgres-data