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:
Kubernetes Prow Robot 2024-06-08 01:21:17 -07:00 committed by GitHub
commit 6b73cccb07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,7 +95,7 @@ func newCertSubPhases() []workflow.Phase {
Short: "Generate a private key for signing service account tokens along with its public key",
Long: saKeyLongDesc,
Run: runCertsSa,
InheritFlags: []string{options.CertificatesDir},
InheritFlags: getCertPhaseFlags("sa"),
}
subPhases = append(subPhases, saPhase)