first commit

This commit is contained in:
2025-12-09 15:30:35 +11:00
commit 5b578e8543
5 changed files with 140 additions and 0 deletions

55
dpa.yaml Normal file
View File

@@ -0,0 +1,55 @@
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: restic
# 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