Add back --cert-dir option for init phase certs sa

parent a0ad3763
...@@ -111,10 +111,11 @@ func newCertSubPhases() []workflow.Phase { ...@@ -111,10 +111,11 @@ func newCertSubPhases() []workflow.Phase {
// SA creates the private/public key pair, which doesn't use x509 at all // SA creates the private/public key pair, which doesn't use x509 at all
saPhase := workflow.Phase{ saPhase := workflow.Phase{
Name: "sa", Name: "sa",
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment