Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.14 KB

self-signed-certificate.md

File metadata and controls

26 lines (21 loc) · 1.14 KB

Self-signed certificate

Velero starts to support installing default BackupStorageLocation with self-signed certificate from v1.4.2. More details please refer to https://velero.io/docs/v1.7/self-signed-certificates/.

To keep consistency with velero, Velero plugin for vsphere also supports using velero-plugin-for-vsphere with a storage provider secured by a self-signed certificate.

  • Vanilla cluster: supported since v1.1.1
  • Guest cluster: supported since v1.1.1
  • Supervisor cluster: not supported

To install with a storage provider secured by a self-signed certificate, the --cacert option needs to be added to provide a path to a certificate bundle to trust.

Here is an example install command:

BUCKET=velero-minio
REGION=minio
S3URL=<s3url>
CACERT=./certs/public.crt
velero install --provider aws \
                --bucket $BUCKET \
                --secret-file ./credentials-velero \
                --plugins velero/velero-plugin-for-aws:v1.0.0 \
                --snapshot-location-config region=$REGION \
                --backup-location-config region=$REGION,s3ForcePathStyle="true",s3Url=$S3URL \
                --cacert $CACERT