Inherit certPhaseFlags for SA

This commit is contained in:
Kavin 2024-06-08 12:05:45 +05:30
parent c6b5191c37
commit dce2322933

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)