Skip to content

Commit

Permalink
chore: add feature.tokenRequest chart config
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Dec 16, 2024
1 parent a944921 commit cecdc99
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ E2E_HELM_OPTIONS += ${EXTRA_HELM_OPTIONS}
ifdef KUBERNETES_VERSION # disable kubelet-registration-probe on capz cluster testing
E2E_HELM_OPTIONS += --set linux.enableRegistrationProbe=false --set windows.enableRegistrationProbe=false
endif
ifeq ($(AZURE_STORAGE_DRIVER),kubernetes.io/azure-file)
E2E_HELM_OPTIONS += --set feature.tokenRequest.enabled=false
endif
ifdef EXTERNAL_E2E_TEST_NFS
E2E_HELM_OPTIONS += --set feature.enableVolumeMountGroup=false --set feature.fsGroupPolicy=File
endif
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 @@ -15,5 +15,7 @@ spec:
- Persistent
- Ephemeral
fsGroupPolicy: {{ .Values.feature.fsGroupPolicy }}
{{ - if .Values.feature.tokenRequest }}
tokenRequests:
- audience: api://AzureADTokenExchange
{{- end }}
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 @@ -164,6 +164,7 @@ driver:
azureGoSDKLogLevel: "" # available values: ""(no logs), DEBUG, INFO, WARNING, ERROR
httpsProxy: ""
httpProxy: ""
tokenRequest: true

linux:
enabled: true
Expand Down

0 comments on commit cecdc99

Please sign in to comment.