diff --git a/prodaccess_nix.go b/prodaccess_nix.go index 28c5dc2..bb845d3 100644 --- a/prodaccess_nix.go +++ b/prodaccess_nix.go @@ -70,4 +70,6 @@ func saveKubernetesCertificate(c string, k string) { "dhtech", "--embed-certs=true", fmt.Sprintf("--client-certificate=%s", cp), fmt.Sprintf("--client-key=%s", kp)).Run() + os.Remove(cp) + os.Remove(kp) }