pelotech / drone-helm3

Plugin for drone to deploy helm charts using helm3
Apache License 2.0
31 stars 36 forks source link

InitKube.Certificate should be optional #29

Closed ErinCall closed 4 years ago

ErinCall commented 4 years ago

Currently, internal/run.InitKube.Prepare returns an error if its Certificate field is empty (unless SkipTLSVerify is true). That was an error on my part! The kubeconfig only needs a certificate-authority-data field if the cluster CA is using a self-signed certificate.