Omit empty CA data from the kubeconfig [#29]
This commit is contained in:
parent
dc4ecb6b91
commit
044caebafd
|
@ -3,7 +3,7 @@ clusters:
|
|||
- cluster:
|
||||
{{- if eq .SkipTLSVerify true }}
|
||||
insecure-skip-tls-verify: true
|
||||
{{- else }}
|
||||
{{- else if .Certificate }}
|
||||
certificate-authority-data: {{ .Certificate }}
|
||||
{{- end}}
|
||||
server: {{ .APIServer }}
|
||||
|
|
Loading…
Reference in a new issue