mirror of https://github.com/k3s-io/k3s
Merge pull request #73239 from mattkelly/bugfix/kubeadm-sa-cert-dir
Add back --cert-dir option for kubeadm init phase certs sapull/564/head
commit
20a11ac5cc
|
@ -115,6 +115,7 @@ func newCertSubPhases() []workflow.Phase {
|
||||||
Short: "Generates a private key for signing service account tokens along with its public key",
|
Short: "Generates a private key for signing service account tokens along with its public key",
|
||||||
Long: saKeyLongDesc,
|
Long: saKeyLongDesc,
|
||||||
Run: runCertsSa,
|
Run: runCertsSa,
|
||||||
|
InheritFlags: []string{options.CertificatesDir},
|
||||||
}
|
}
|
||||||
|
|
||||||
subPhases = append(subPhases, saPhase)
|
subPhases = append(subPhases, saPhase)
|
||||||
|
|
Loading…
Reference in New Issue