23 lines
442 B
YAML
23 lines
442 B
YAML
apiVersion: backup.appuio.ch/v1alpha1
|
|
kind: PreBackupPod
|
|
metadata:
|
|
name: dump-docs
|
|
namespace: docspell
|
|
spec:
|
|
pod:
|
|
spec:
|
|
containers:
|
|
- image: busybox
|
|
command:
|
|
- /opt/export-files.sh
|
|
imagePullPolicy: Always
|
|
name: export-files
|
|
volumeMounts:
|
|
- name: script
|
|
mountPath: /opt
|
|
volumes:
|
|
- name: script
|
|
configMap:
|
|
name: file-backup-script
|
|
|