Files
oadp/dpa.yaml
Conan Scott 2348fe9f95 changed from restic to kopia
changed test job to use stateful namespace
2025-12-18 14:47:18 +11:00

56 lines
1.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

apiVersion: oadp.openshift.io/v1alpha1
kind: DataProtectionApplication
metadata:
name: dpa-minio
namespace: openshift-adp
spec:
# 1) Dont bother with internal image backup for your lab
backupImages: false
backupLocations:
- name: default
velero:
provider: aws
default: true
credential:
name: cloud-credentials
key: cloud
objectStorage:
bucket: oadp
# 2) REQUIRED if bucket not dedicated to Velero, and also avoids that
# "must have velero prefix when backupImages is not set to false" error.
prefix: velero
config:
profile: default
region: ap-southeast-2
s3ForcePathStyle: "true"
s3Url: http://minio.minio.svc.cluster.local:9000
insecureSkipTLSVerify: "true"
configuration:
# 3) New-style File System Backup: nodeAgent instead of `restic:` block
nodeAgent:
enable: true
# Keep behaviour close to what you had before
uploaderType: kopia
# If you want to pin node-agent pods, it MUST be nested like this:
# podConfig:
# nodeSelector:
# node-role.kubernetes.io/worker: ""
# # other pod options (tolerations, resources, etc.)
velero:
defaultPlugins:
- openshift
- aws
disableFsBackup: false
podConfig:
resourceAllocations:
limits:
cpu: "500m"
memory: "512Mi"
requests:
cpu: "100m"
memory: "256Mi"
logFormat: text