mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
Merge pull request #120521 from SataQiu/clean-kubeadm-20230908
kubeadm: remove 'system:masters' organization from apiserver-etcd-client certificate
This commit is contained in:
commit
4c0d37e767
@ -410,7 +410,6 @@ func KubeadmCertEtcdAPIClient() *KubeadmCert {
|
|||||||
config: pkiutil.CertConfig{
|
config: pkiutil.CertConfig{
|
||||||
Config: certutil.Config{
|
Config: certutil.Config{
|
||||||
CommonName: kubeadmconstants.APIServerEtcdClientCertCommonName,
|
CommonName: kubeadmconstants.APIServerEtcdClientCertCommonName,
|
||||||
Organization: []string{kubeadmconstants.SystemPrivilegedGroup},
|
|
||||||
Usages: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth},
|
Usages: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user