From 8daa5042f19df3736220ecd85fc38c578506d133 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Wed, 11 Oct 2023 03:52:01 +0000 Subject: [PATCH] doc: fix typos --- deploy/example/azure.json | 4 ++-- docs/csi-debug.md | 2 +- pkg/azurefile/controllerserver.go | 2 +- test/e2e/driver/azurefile_driver.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy/example/azure.json b/deploy/example/azure.json index 54995a9253..18a8178e9d 100644 --- a/deploy/example/azure.json +++ b/deploy/example/azure.json @@ -6,8 +6,8 @@ "location": "eastus2", // mandatory "aadClientId": "xxxx-xxxx-xxxx-xxxx-xxxx", // mandatory if using service principal "aadClientSecret": "xxxx-xxxx-xxxx-xxxx-xxxx", // mandatory if using service principal - "useManagedIdentityExtension": false, // set true if using managed idenitty - "userAssignedIdentityID": "", // mandatory if using managed idenitty + "useManagedIdentityExtension": false, // set true if using managed identity + "userAssignedIdentityID": "", // mandatory if using managed identity "useInstanceMetadata": true, // optional "vmType": "standard", // optional "subnetName": "k8s-subnet", // optional diff --git a/docs/csi-debug.md b/docs/csi-debug.md index 846e88f455..2cc4dba6e5 100644 --- a/docs/csi-debug.md +++ b/docs/csi-debug.md @@ -173,7 +173,7 @@ Enable [large file shares](https://docs.microsoft.com/azure/storage/files/storag ##### Premium Files Azure premium files follows provisioned model where IOPS and throughput are associated to the quota. See this article that explains the co-relation between share size and IOPS and throughput - [link](https://docs.microsoft.com/azure/storage/files/understanding-billing#provisioned-model). Increase the share quota by following this guide - [link](https://github.com/kubernetes-sigs/azurefile-csi-driver/tree/master/deploy/example/resize). -##### For more, refer to this doc for perforance troubleshooting tips - [Link to performance troubleshooting tips](https://docs.microsoft.com/en-us/azure/storage/files/storage-troubleshooting-files-performance) +##### For more, refer to this doc for performance troubleshooting tips - [Link to performance troubleshooting tips](https://docs.microsoft.com/en-us/azure/storage/files/storage-troubleshooting-files-performance) ##### [Storage considerations for Azure Kubernetes Service (AKS)](https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/scenarios/app-platform/aks/storage) ##### [Compare access to Azure Files, Blob Storage, and Azure NetApp Files with NFS](https://learn.microsoft.com/en-us/azure/storage/common/nfs-comparison#comparison) diff --git a/pkg/azurefile/controllerserver.go b/pkg/azurefile/controllerserver.go index bdb8e2ff3d..fba1846f23 100644 --- a/pkg/azurefile/controllerserver.go +++ b/pkg/azurefile/controllerserver.go @@ -336,7 +336,7 @@ func (d *Driver) CreateVolume(ctx context.Context, req *csi.CreateVolumeRequest) shareProtocol = storage.EnabledProtocolsNFS // NFS protocol does not need account key storeAccountKey = false - // reset protocol field (compatble with "fsType: nfs") + // reset protocol field (compatible with "fsType: nfs") setKeyValueInMap(parameters, protocolField, protocol) if !pointer.BoolDeref(createPrivateEndpoint, false) { diff --git a/test/e2e/driver/azurefile_driver.go b/test/e2e/driver/azurefile_driver.go index c85e8afa05..efc19103e1 100644 --- a/test/e2e/driver/azurefile_driver.go +++ b/test/e2e/driver/azurefile_driver.go @@ -39,7 +39,7 @@ type AzureFileDriver struct { driverName string } -// InitAzureFileDriver returns AzureFileDriver that implemnts DynamicPVTestDriver interface +// InitAzureFileDriver returns AzureFileDriver that implements DynamicPVTestDriver interface func InitAzureFileDriver() PVTestDriver { driverName := os.Getenv(AzureDriverNameVar) if driverName == "" {