-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docs for self-signed cert (#432)
Signed-off-by: xinyanw409 <[email protected]>
- Loading branch information
1 parent
b8ffd5c
commit 55dfd3b
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# 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: | ||
```text | ||
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters