mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Merge pull request #73239 from mattkelly/bugfix/kubeadm-sa-cert-dir
Add back --cert-dir option for kubeadm init phase certs sa
This commit is contained in:
commit
20a11ac5cc
@ -111,10 +111,11 @@ func newCertSubPhases() []workflow.Phase {
|
||||
|
||||
// SA creates the private/public key pair, which doesn't use x509 at all
|
||||
saPhase := workflow.Phase{
|
||||
Name: "sa",
|
||||
Short: "Generates a private key for signing service account tokens along with its public key",
|
||||
Long: saKeyLongDesc,
|
||||
Run: runCertsSa,
|
||||
Name: "sa",
|
||||
Short: "Generates a private key for signing service account tokens along with its public key",
|
||||
Long: saKeyLongDesc,
|
||||
Run: runCertsSa,
|
||||
InheritFlags: []string{options.CertificatesDir},
|
||||
}
|
||||
|
||||
subPhases = append(subPhases, saPhase)
|
||||
|
Loading…
Reference in New Issue
Block a user