Skip to content

Commit dce2322

Browse files
committed
Inherit certPhaseFlags for SA
1 parent c6b5191 commit dce2322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/kubeadm/app/cmd/phases/init/certs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func newCertSubPhases() []workflow.Phase {
9595
Short: "Generate a private key for signing service account tokens along with its public key",
9696
Long: saKeyLongDesc,
9797
Run: runCertsSa,
98-
InheritFlags: []string{options.CertificatesDir},
98+
InheritFlags: getCertPhaseFlags("sa"),
9999
}
100100

101101
subPhases = append(subPhases, saPhase)

0 commit comments

Comments
 (0)