mirror of
https://github.com/pelotech/drone-helm3.git
synced 2026-06-14 22:11:52 +08:00
Omit empty CA data from the kubeconfig [#29]
This commit is contained in:
+1
-1
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user