diff --git a/cmd/template/cluster-secret.yaml b/cmd/template/cluster-secret.yaml index 78de6c0..874df98 100644 --- a/cmd/template/cluster-secret.yaml +++ b/cmd/template/cluster-secret.yaml @@ -59,7 +59,7 @@ data: certData: "{{ base64 .KubeConfig.TLSClientConfig.CertData }}" {{ end }} # Server should be accessed without verifying the TLS certificate - insecure: "{{ .KubeConfig.TLSClientConfig.Insecure }}" + insecure: {{ .KubeConfig.TLSClientConfig.Insecure }} {{ if .KubeConfig.TLSClientConfig.KeyData }} # Base64 encoded PEM-encoded bytes (typically read from a client certificate key file). keyData: "{{ base64 .KubeConfig.TLSClientConfig.KeyData }}"