Skip to content

Commit

Permalink
fix: cluster secret template, insecure should be a boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
4ch3los committed Oct 1, 2024
1 parent 100ca2a commit 4779923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/template/cluster-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 4779923

Please sign in to comment.