From 45f1052efaf6b1429045fbbfdfd92903f70275e1 Mon Sep 17 00:00:00 2001 From: Christian Svensson Date: Sun, 13 May 2018 18:47:12 +0200 Subject: [PATCH] remove certificates after ingest --- prodaccess_nix.go | 2 ++ 1 file changed, 2 insertions(+) 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) }