Commit afca35b5 authored by Shawn Smith's avatar Shawn Smith

fix string formatting verb

parent 5343c35b
...@@ -57,7 +57,7 @@ func NewKubernetesKubectl(config *KubernetesConfig) Kubernetes { ...@@ -57,7 +57,7 @@ func NewKubernetesKubectl(config *KubernetesConfig) Kubernetes {
} }
if config.KubeInsecure { if config.KubeInsecure {
args = append(args, fmt.Sprintf("--insecure-skip-tls-verify=%s", config.KubeInsecure)) args = append(args, fmt.Sprintf("--insecure-skip-tls-verify=%t", config.KubeInsecure))
} else { } else {
if config.KubeCertAuth != "" { if config.KubeCertAuth != "" {
args = append(args, fmt.Sprintf("--certificate-authority=%s", config.KubeCertAuth)) args = append(args, fmt.Sprintf("--certificate-authority=%s", config.KubeCertAuth))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment