Skip to content

Commit

Permalink
Merge pull request #1363 from mtougeron/configurable-configmap-name
Browse files Browse the repository at this point in the history
feat(helm) Allow setting an alternate name of the configmap for the azure credential path
  • Loading branch information
andyzhangx authored Aug 15, 2023
2 parents 532b943 + b5e110b commit 4046d86
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down
Binary file modified charts/latest/azurefile-csi-driver-v0.0.0.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions charts/latest/azurefile-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4046d86

Please sign in to comment.