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

pull/564/head
Matt Kelly 2019-01-23 19:37:08 -05:00
parent 9f4a495a41
commit 35faaab570
No known key found for this signature in database
GPG Key ID: 6B46F2B5767577D6
1 changed files with 5 additions and 4 deletions

View File

@ -111,10 +111,11 @@ func newCertSubPhases() []workflow.Phase {
// SA creates the private/public key pair, which doesn't use x509 at all
saPhase := workflow.Phase{
Name: "sa",
Short: "Generates a private key for signing service account tokens along with its public key",
Long: saKeyLongDesc,
Run: runCertsSa,
Name: "sa",
Short: "Generates a private key for signing service account tokens along with its public key",
Long: saKeyLongDesc,
Run: runCertsSa,
InheritFlags: []string{options.CertificatesDir},
}
subPhases = append(subPhases, saPhase)