From c3fa6cc8e1ef3369f60a1f325bbe2e0e1d0ce6fe Mon Sep 17 00:00:00 2001 From: Anshul Ahuja Date: Mon, 11 Dec 2023 05:29:29 +0000 Subject: [PATCH] Fix docs around storageaccounturi Signed-off-by: Anshul Ahuja --- README.md | 4 ++-- backupstoragelocation.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4a73d06..aa80443 100644 --- a/README.md +++ b/README.md @@ -466,7 +466,7 @@ velero install \ --plugins velero/velero-plugin-for-microsoft-azure:v1.8.0 \ --bucket $BLOB_CONTAINER \ --secret-file ./credentials-velero \ - --backup-location-config storageAccountURI="xxxxxx.blob.core.windows.net",useAAD="true",resourceGroup=$AZURE_BACKUP_RESOURCE_GROUP,storageAccount=$AZURE_STORAGE_ACCOUNT_ID[,subscriptionId=$AZURE_BACKUP_SUBSCRIPTION_ID] \ + --backup-location-config storageAccountURI="https://xxxxxx.blob.core.windows.net",useAAD="true",resourceGroup=$AZURE_BACKUP_RESOURCE_GROUP,storageAccount=$AZURE_STORAGE_ACCOUNT_ID[,subscriptionId=$AZURE_BACKUP_SUBSCRIPTION_ID] \ --snapshot-location-config apiTimeout=[,resourceGroup=$AZURE_BACKUP_RESOURCE_GROUP,subscriptionId=$AZURE_BACKUP_SUBSCRIPTION_ID] ``` @@ -568,7 +568,7 @@ velero backup-location create \ If you would like to customize the Storage Location and or the AAD URI associated with the backup location add the following to the `--config` argument: ```bash ---config storageAccountURI=my-sa.blob.core.windows.net,activeDirectoryAuthorityURI='https://login.microsoftonline.us/' +--config storageAccountURI='https://my-sa.blob.core.windows.net',activeDirectoryAuthorityURI='https://login.microsoftonline.us/' ``` The Backup Storage Location is ready to use when it has the phase `Available`. diff --git a/backupstoragelocation.md b/backupstoragelocation.md index 3b27fff..c93a8ad 100644 --- a/backupstoragelocation.md +++ b/backupstoragelocation.md @@ -51,7 +51,7 @@ spec: # Optional. This will ensure that velero uses the provided URI to communicate to the Storage Account, # and it will not try to fetch the Endpoint by making an ARM call. # If this field is provided then resourceGroup, subscriptionId can be left empty - storageAccountURI: my-sa.blob.core.windows.net + storageAccountURI: https://my-sa.blob.core.windows.net # Boolean parameter to decide whether to use AAD for authenticating with the storage account. # If false/ not provided, plugin will fallback to using ListKeys