Difference between revisions of "Velero Minio"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "``` #!/bin/bash set -eu cat <<EOF> minio.crd [default] aws_access_key_id=${MINIO_ACCESS_KEY} aws_secret_access_key=${MINIO_SECRET_KEY} EOF velero install \ --provider aws...")
 
(No difference)

Latest revision as of 22:22, 1 July 2023

#!/bin/bash
set -eu

cat <<EOF> minio.crd
[default]
aws_access_key_id=${MINIO_ACCESS_KEY}
aws_secret_access_key=${MINIO_SECRET_KEY}
EOF

velero install \
  --provider aws \
  --plugins velero/velero-plugin-for-aws:v1.5.5 \
  --bucket velero \
  --secret-file ./minio.crd \
  --use-node-agent \
  --use-volume-snapshots=false \
  --snapshot-location-config region="default" \
  --backup-location-config region=minio,s3ForcePathStyle="true",s3Url=https://minio-api.example.com