velero configure-azure
Configures snapshots to use an Azure Blob Storage Container as a storage destination. Currently only the Service Principle authentication method of the velero-plugin-for-microsoft-azure.
Valid Subcommands:
- service-principle
Usage
kubectl kots velero configure-azure [subcommand]
Flag | Type | Description |
---|---|---|
-h, --help | help for configure-azure |
service-principle
kubectl kots velero configure-azure service-principle [flags]
- Provide
[flags]
according to the table below
Flag | Type | Description |
---|---|---|
-h, --help | help for service-principle | |
-n, --namespace | string | the namespace of the Admin Console (required) |
--client-id | string | the client ID of a Service Principle with access to the blob storage container (required) |
--client-secret | string | the client secret of a Service Principle with access to the blob storage container (required) |
--cloud-name | string | the Azure cloud target. Options: AzurePublicCloud, AzureUSGovernmentCloud, AzureChinaCloud, AzureGermanCloud (default AzurePublicCloud ) |
--container | string | name of the Azure blob storage container where backups should be stored (required) |
--path | string | path to a subdirectory in the blob storage container |
--resource-group | string | the resource group name of the blob storage container (required) |
--skip-validation | bool | skip the validation of the blob storage container (default false ) |
--storage-account | string | the storage account name of the blob storage container (required) |
--subscription-id | string | the subscription id associated with the blob storage container (required) |
--tenant-id | string | the tenant ID associated with the blob storage container (required) |
Example
kubectl kots velero configure-azure service-principle --namespace default --container velero --resource-group Velero_Backups --storage-account velero1111362eb32b --subscription-id "1111111-1111-47a7-9671-c904d681c2b2" --tenant-id "1111111-1111-42e1-973b-ad2efc689308" --client-id "1111111-1111-4ac3-9e2b-bbea61392432" --client-secret "<secret here>"