Skip to content

Commit

Permalink
feat: add fsGroupPolicy chart config
Browse files Browse the repository at this point in the history
chore: update chart file

fix
  • Loading branch information
andyzhangx committed May 4, 2023
1 parent 03f8449 commit d590a9c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ifdef KUBERNETES_VERSION # disable kubelet-registration-probe on capz cluster te
E2E_HELM_OPTIONS += --set linux.enableRegistrationProbe=false --set windows.enableRegistrationProbe=false
endif
ifdef EXTERNAL_E2E_TEST_NFS
E2E_HELM_OPTIONS += --set feature.enableVolumeMountGroup=false
E2E_HELM_OPTIONS += --set feature.enableVolumeMountGroup=false --set feature.fsGroupPolicy=File
endif
GINKGO_FLAGS = -ginkgo.v
GO111MODULE = on
Expand Down
1 change: 1 addition & 0 deletions charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ The following table lists the configurable parameters of the latest Azure File C
| `driver.azureGoSDKLogLevel` | [Azure go sdk log level](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/previous-versions-quickstart.md#built-in-basic-requestresponse-logging) | ``(no logs), `DEBUG`, `INFO`, `WARNING`, `ERROR`, [etc](https://github.com/Azure/go-autorest/blob/50e09bb39af124f28f29ba60efde3fa74a4fe93f/logger/logger.go#L65-L73). |
| `feature.enableGetVolumeStats` | allow GET_VOLUME_STATS on agent node | `true` |
| `feature.enableVolumeMountGroup` | indicates whether enabling VOLUME_MOUNT_GROUP | `true` |
| `feature.fsGroupPolicy` | CSIDriver FSGroupPolicy value | `ReadWriteOnceWithFSType`(available values: `ReadWriteOnceWithFSType`, `File`, `None`) |
| `image.baseRepo` | base repository of driver images | `mcr.microsoft.com` |
| `image.azurefile.repository` | azurefile-csi-driver docker image | `/oss/kubernetes-csi/azurefile-csi` |
| `image.azurefile.tag` | azurefile-csi-driver docker image tag | `` |
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 @@ -14,4 +14,4 @@ spec:
volumeLifecycleModes:
- Persistent
- Ephemeral
fsGroupPolicy: ReadWriteOnceWithFSType
fsGroupPolicy: {{ .Values.feature.fsGroupPolicy }}
1 change: 1 addition & 0 deletions charts/latest/azurefile-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ snapshot:
feature:
enableGetVolumeStats: true
enableVolumeMountGroup: true
fsGroupPolicy: ReadWriteOnceWithFSType

driver:
name: file.csi.azure.com
Expand Down

0 comments on commit d590a9c

Please # to comment.