diff --git a/kubelet.go b/kubelet.go index 9798fe4..7fcdc63 100644 --- a/kubelet.go +++ b/kubelet.go @@ -116,7 +116,7 @@ func kubeletCertKeyGen(nodeName, certificatesDir string) (*pem.Block, *pem.Block } publicKeyBlock := &pem.Block{ - Type: "PUBLIC KEY", + Type: "CERTIFICATE", Bytes: publicKey, } diff --git a/main.go b/main.go index f34b3a0..d494b1b 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( ) // AppVersion current build application version. -const AppVersion = "0.0.14" +const AppVersion = "0.0.15" func main() { var (