diff --git a/charts/README.md b/charts/README.md index bdd56f9075..94cec1073f 100644 --- a/charts/README.md +++ b/charts/README.md @@ -47,6 +47,7 @@ The following table lists the configurable parameters of the latest Azure File C | Parameter | Description | Default | |---------------------------------------------------|------------------------------------------------------------|-------------------------------------------------------------------| +| `azureCredentialFileConfigMap` | alternative ConfigMap name for the credentials file | `azure-cred-file` | | `driver.name` | alternative driver name | `file.csi.azure.com` | | `driver.customUserAgent` | custom userAgent | `` | | `driver.userAgentSuffix` | userAgent suffix | `OSS-helm` | diff --git a/charts/latest/azurefile-csi-driver-v0.0.0.tgz b/charts/latest/azurefile-csi-driver-v0.0.0.tgz index 5b2e073399..805cde496f 100644 Binary files a/charts/latest/azurefile-csi-driver-v0.0.0.tgz and b/charts/latest/azurefile-csi-driver-v0.0.0.tgz differ diff --git a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-controller.yaml b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-controller.yaml index 5d24904b48..b4d26d3a98 100644 --- a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-controller.yaml +++ b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-controller.yaml @@ -199,7 +199,7 @@ spec: - name: AZURE_CREDENTIAL_FILE valueFrom: configMapKeyRef: - name: azure-cred-file + name: {{ .Values.azureCredentialFileConfigMap }} key: path optional: true - name: CSI_ENDPOINT diff --git a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows-hostprocess.yaml b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows-hostprocess.yaml index d24bc04645..0e2e6b9639 100644 --- a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows-hostprocess.yaml +++ b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows-hostprocess.yaml @@ -128,7 +128,7 @@ spec: - name: AZURE_CREDENTIAL_FILE valueFrom: configMapKeyRef: - name: azure-cred-file + name: {{ .Values.azureCredentialFileConfigMap }} key: path-windows optional: true - name: CSI_ENDPOINT diff --git a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml index 3c952495b4..d7cf19b25e 100644 --- a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml +++ b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml @@ -153,7 +153,7 @@ spec: - name: AZURE_CREDENTIAL_FILE valueFrom: configMapKeyRef: - name: azure-cred-file + name: {{ .Values.azureCredentialFileConfigMap }} key: path-windows optional: true - name: CSI_ENDPOINT diff --git a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node.yaml b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node.yaml index 52e5274d3e..1998b824cb 100644 --- a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node.yaml +++ b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node.yaml @@ -151,7 +151,7 @@ spec: - name: AZURE_CREDENTIAL_FILE valueFrom: configMapKeyRef: - name: azure-cred-file + name: {{ .Values.azureCredentialFileConfigMap }} key: path optional: true - name: CSI_ENDPOINT diff --git a/charts/latest/azurefile-csi-driver/values.yaml b/charts/latest/azurefile-csi-driver/values.yaml index 034c521faa..2d0144114f 100644 --- a/charts/latest/azurefile-csi-driver/values.yaml +++ b/charts/latest/azurefile-csi-driver/values.yaml @@ -262,3 +262,5 @@ workloadIdentity: # [optional] If the AAD application or user-assigned managed identity is not in the same tenant as the cluster # then set tenantID with the application or user-assigned managed identity tenant ID tenantID: "" + +azureCredentialFileConfigMap: azure-cred-file