mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #125396 from Kavinraja-G/bugfix/inherit-cert-flags
Inherit certPhaseFlags when using SA key phase in Kubeadm
This commit is contained in:
commit
6b73cccb07
@ -95,7 +95,7 @@ func newCertSubPhases() []workflow.Phase {
|
|||||||
Short: "Generate a private key for signing service account tokens along with its public key",
|
Short: "Generate 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},
|
InheritFlags: getCertPhaseFlags("sa"),
|
||||||
}
|
}
|
||||||
|
|
||||||
subPhases = append(subPhases, saPhase)
|
subPhases = append(subPhases, saPhase)
|
||||||
|
Loading…
Reference in New Issue
Block a user