Skip to content

Commit

Permalink
Merge pull request #218 from anshulahuja98/main
Browse files Browse the repository at this point in the history
Fix docs around storageaccounturi
  • Loading branch information
shubham-pampattiwar authored Dec 11, 2023
2 parents 09ba9b0 + c3fa6cc commit c9a9ac2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<YOUR_TIMEOUT>[,resourceGroup=$AZURE_BACKUP_RESOURCE_GROUP,subscriptionId=$AZURE_BACKUP_SUBSCRIPTION_ID]
```
Expand Down Expand Up @@ -568,7 +568,7 @@ velero backup-location create <bsl-name> \
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`.
Expand Down
2 changes: 1 addition & 1 deletion backupstoragelocation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9a9ac2

Please sign in to comment.