Skip to content

Commit 6b73ccc

Browse files
authored
Merge pull request kubernetes#125396 from Kavinraja-G/bugfix/inherit-cert-flags
Inherit certPhaseFlags when using SA key phase in Kubeadm
2 parents c6b5191 + dce2322 commit 6b73ccc

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)