@@ -467,19 +467,19 @@ func Deployment(n NFD) (ResourceStatus, error) {
467467 // expected that n.ins.Spec.Instance will return ""
468468 // https://kubernetes-sigs.github.io/node-feature-discovery/v0.8/advanced/master-commandline-reference.html#-instance
469469 if n .ins .Spec .Instance != "" {
470- args = append (args , fmt .Sprintf ("--instance=%q " , n .ins .Spec .Instance ))
470+ args = append (args , fmt .Sprintf ("--instance=%s " , n .ins .Spec .Instance ))
471471 }
472472
473473 if len (n .ins .Spec .ExtraLabelNs ) != 0 {
474- args = append (args , fmt .Sprintf ("--extra-label-ns=%q " , strings .Join (n .ins .Spec .ExtraLabelNs , "," )))
474+ args = append (args , fmt .Sprintf ("--extra-label-ns=%s " , strings .Join (n .ins .Spec .ExtraLabelNs , "," )))
475475 }
476476
477477 if len (n .ins .Spec .ResourceLabels ) != 0 {
478- args = append (args , fmt .Sprintf ("--resource-labels=%q " , strings .Join (n .ins .Spec .ResourceLabels , "," )))
478+ args = append (args , fmt .Sprintf ("--resource-labels=%s " , strings .Join (n .ins .Spec .ResourceLabels , "," )))
479479 }
480480
481481 if strings .TrimSpace (n .ins .Spec .LabelWhiteList ) != "" {
482- args = append (args , fmt .Sprintf ("--label-whitelist=%q " , n .ins .Spec .LabelWhiteList ))
482+ args = append (args , fmt .Sprintf ("--label-whitelist=%s " , n .ins .Spec .LabelWhiteList ))
483483 }
484484
485485 obj .Spec .Template .Spec .Containers [0 ].Args = args
0 commit comments