Skip to content

Commit

Permalink
Merge pull request #125396 from Kavinraja-G/bugfix/inherit-cert-flags
Browse files Browse the repository at this point in the history
Inherit certPhaseFlags when using SA key phase in Kubeadm
  • Loading branch information
k8s-ci-robot authored Jun 8, 2024
2 parents c6b5191 + dce2322 commit 6b73ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kubeadm/app/cmd/phases/init/certs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6b73ccc

Please sign in to comment.