Merge pull request #120521 from SataQiu/clean-kubeadm-20230908

kubeadm: remove 'system:masters' organization from apiserver-etcd-client certificate
This commit is contained in:
Kubernetes Prow Robot 2023-09-08 05:26:25 -07:00 committed by GitHub
commit 4c0d37e767
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -409,9 +409,8 @@ func KubeadmCertEtcdAPIClient() *KubeadmCert {
CAName: "etcd-ca",
config: pkiutil.CertConfig{
Config: certutil.Config{
CommonName: kubeadmconstants.APIServerEtcdClientCertCommonName,
Organization: []string{kubeadmconstants.SystemPrivilegedGroup},
Usages: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth},
CommonName: kubeadmconstants.APIServerEtcdClientCertCommonName,
Usages: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth},
},
},
}