You would like to configure a new release of Symantec Protection Engine (SPE) Connector for Azure, and want to know how to set Persistent Volume and Permissions.
SPE 9.1
Important point about configuring PV with Kubernetes Cluster. After creating a cluster, add Microsoft.Storage as a service point to Subnet. Image below for reference:
#Kubernetes namespace. Please provide the same namespace as given in values.yaml file.$namespace=""#subscription id$subscriptionID=""$location="East US"
#pv resource group name$resourceGroupName=""
#pv storage account name$storageAccountName=""
#pv file share name$fileshareName=""
#resource group name details for the Vnet used for Azure Connector Cluster e.g. MC_xxxxx_eastus i.e. MC_CustomerDemoCluster_SPEAzureDemoCluster_eastus $vnetResourceGroupName=""$vnetName=""$subnetName=""
#Existing Kubernetes Variables#cluster name and resource group information for spe-azure-connector$SPE_K8S_CLUSTER_NAME=""$SPE_K8S_CLUSTER_RES_GROUP=""
./azure-file-share-script.ps1
#working subscription, give subscribtion guid here like "8d75eda2-b5fc-4731-946e-ae355e1dXXXX" $SUBSCRIPTION_ID=""
#managed identity that need to be created, give manage identity name here like : "spe-managed-identity"$USER_ASSIGNED_MANAGED_IDENTITY_NAME="" #existing resource group name where <spe-managed-identity> will be created$IDENTITY_RESOURCE_GROUP=""#region for <spe-managed-identity>, like:eastus$IDENTITY_LOCATION=""
#Existing Kubernetes Variables#cluster name and resource group information for spe-azure-connector$SPE_K8S_CLUSTER_NAME=""$SPE_K8S_CLUSTER_RES_GROUP=""
#service account namespace and name to be created inside spe-azure-connector cluster$SERVICE_ACCOUNT_NAMESPACE=""$SERVICE_ACCOUNT_NAME=""#federated identity name to be created$FEDERARATED_IDENTITY_NAME="kub-fed-identity"
#existing azure config file as an input, for providing permission on the resources.$CONFIG_FILE = "azureconfig.json"#existing asset.csv file, for providing permission on the assets$ASSETS_FILE = "assets.csv"
./spe-azure-identity-and-permission-setup.ps1