Skip to content

Commit 815efa2

Browse files
authored
Merge pull request kubernetes#126250 from my-git9/pkiutil-consot
kubeadm: remove unused constants in util/pkiutil
2 parents 10496b3 + c1dca0a commit 815efa2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmd/kubeadm/app/util/pkiutil/pki_helpers.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,10 @@ import (
4949
)
5050

5151
const (
52-
// PrivateKeyBlockType is a possible value for pem.Block.Type.
53-
PrivateKeyBlockType = "PRIVATE KEY"
5452
// PublicKeyBlockType is a possible value for pem.Block.Type.
5553
PublicKeyBlockType = "PUBLIC KEY"
5654
// CertificateBlockType is a possible value for pem.Block.Type.
5755
CertificateBlockType = "CERTIFICATE"
58-
// RSAPrivateKeyBlockType is a possible value for pem.Block.Type.
59-
RSAPrivateKeyBlockType = "RSA PRIVATE KEY"
6056
)
6157

6258
// CertConfig is a wrapper around certutil.Config extending it with EncryptionAlgorithm.

0 commit comments

Comments
 (0)