@@ -366,6 +366,7 @@ func CreateDaemonSet(ctx context.Context, identity string, directCSIContainerIma
366
366
Name : nodeDriverRegistrarContainerName ,
367
367
Image : filepath .Join (registry , org , nodeDriverRegistrarContainerImage ),
368
368
Args : []string {
369
+ fmt .Sprintf ("--v=%d" , logLevel ),
369
370
"--csi-address=unix:///csi/csi.sock" ,
370
371
fmt .Sprintf ("--kubelet-registration-path=%s" ,
371
372
newDirectCSIPluginsSocketDir (kubeletDirPath , name )+ "/csi.sock" ),
@@ -394,6 +395,7 @@ func CreateDaemonSet(ctx context.Context, identity string, directCSIContainerIma
394
395
Args : func () []string {
395
396
args := []string {
396
397
fmt .Sprintf ("--identity=%s" , name ),
398
+ fmt .Sprintf ("-v=%d" , logLevel ),
397
399
fmt .Sprintf ("--endpoint=$(%s)" , endpointEnvVarCSI ),
398
400
fmt .Sprintf ("--node-id=$(%s)" , kubeNodeNameEnvVar ),
399
401
fmt .Sprintf ("--conversion-webhook-url=%s" , conversionWebhookURL ),
@@ -635,6 +637,7 @@ func CreateDeployment(ctx context.Context, identity string, directCSIContainerIm
635
637
Name : csiProvisionerContainerName ,
636
638
Image : filepath .Join (registry , org , csiProvisionerContainerImage ),
637
639
Args : []string {
640
+ fmt .Sprintf ("--v=%d" , logLevel ),
638
641
"--timeout=300s" ,
639
642
fmt .Sprintf ("--csi-address=$(%s)" , endpointEnvVarCSI ),
640
643
"--leader-election" ,
@@ -673,6 +676,7 @@ func CreateDeployment(ctx context.Context, identity string, directCSIContainerIm
673
676
Name : directCSIContainerName ,
674
677
Image : filepath .Join (registry , org , directCSIContainerImage ),
675
678
Args : []string {
679
+ fmt .Sprintf ("-v=%d" , logLevel ),
676
680
fmt .Sprintf ("--identity=%s" , name ),
677
681
fmt .Sprintf ("--endpoint=$(%s)" , endpointEnvVarCSI ),
678
682
fmt .Sprintf ("--conversion-webhook-url=%s" , conversionWebhookURL ),
0 commit comments