mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Inherit certPhaseFlags for SA
This commit is contained in:
parent
c6b5191c37
commit
dce2322933
@ -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