From 4779923c8daaa437d8d1adb6da80be6225be37cd Mon Sep 17 00:00:00 2001 From: Kai Fink Date: Tue, 1 Oct 2024 18:21:59 +0200 Subject: [PATCH] fix: cluster secret template, insecure should be a boolean --- cmd/template/cluster-secret.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}"