From c1dca0ad7c0465bb57ef8b4d1c1ff46baa385a0e Mon Sep 17 00:00:00 2001 From: "xin.li" Date: Sat, 20 Jul 2024 23:30:25 +0800 Subject: [PATCH] kubeadm: remove unused constants in util/pkiutil Signed-off-by: xin.li --- cmd/kubeadm/app/util/pkiutil/pki_helpers.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/kubeadm/app/util/pkiutil/pki_helpers.go b/cmd/kubeadm/app/util/pkiutil/pki_helpers.go index 694e0bc9ecd..dbbd139f739 100644 --- a/cmd/kubeadm/app/util/pkiutil/pki_helpers.go +++ b/cmd/kubeadm/app/util/pkiutil/pki_helpers.go @@ -49,14 +49,10 @@ import ( ) const ( - // PrivateKeyBlockType is a possible value for pem.Block.Type. - PrivateKeyBlockType = "PRIVATE KEY" // PublicKeyBlockType is a possible value for pem.Block.Type. PublicKeyBlockType = "PUBLIC KEY" // CertificateBlockType is a possible value for pem.Block.Type. CertificateBlockType = "CERTIFICATE" - // RSAPrivateKeyBlockType is a possible value for pem.Block.Type. - RSAPrivateKeyBlockType = "RSA PRIVATE KEY" ) // CertConfig is a wrapper around certutil.Config extending it with EncryptionAlgorithm.