Skip to content

Commit ce55e88

Browse files
committed
feat: enable GetVolumeStats by default
1 parent c495e08 commit ce55e88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/latest/csi-driver-smb/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ driver:
3030
name: smb.csi.k8s.io
3131

3232
feature:
33-
enableGetVolumeStats: false
33+
enableGetVolumeStats: true
3434

3535
controller:
3636
name: csi-smb-controller

cmd/smbplugin/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var (
4242
ver = flag.Bool("ver", false, "Print the version and exit.")
4343
metricsAddress = flag.String("metrics-address", "0.0.0.0:29644", "export the metrics")
4444
kubeconfig = flag.String("kubeconfig", "", "Absolute path to the kubeconfig file. Required only when running out of cluster.")
45-
enableGetVolumeStats = flag.Bool("enable-get-volume-stats", false, "allow GET_VOLUME_STATS on agent node")
45+
enableGetVolumeStats = flag.Bool("enable-get-volume-stats", true, "allow GET_VOLUME_STATS on agent node")
4646
workingMountDir = flag.String("working-mount-dir", "/tmp", "working directory for provisioner to mount smb shares temporarily")
4747
)
4848

0 commit comments

Comments
 (0)