mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
kubeadm: remove 'system:masters' organization from apiserver-etcd-client certificate
This commit is contained in:
parent
f8ca582a06
commit
3e2bad02dc
@ -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},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user