mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
kubeadm: remove 'system:masters' organization from apiserver-etcd-client certificate
This commit is contained in:
parent
f8ca582a06
commit
3e2bad02dc
@ -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