Merge pull request #125396 from Kavinraja-G/bugfix/inherit-cert-flags
Inherit certPhaseFlags when using SA key phase in Kubeadm
This commit is contained in:
		| @@ -95,7 +95,7 @@ func newCertSubPhases() []workflow.Phase { | |||||||
| 		Short:        "Generate a private key for signing service account tokens along with its public key", | 		Short:        "Generate 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}, | 		InheritFlags: getCertPhaseFlags("sa"), | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	subPhases = append(subPhases, saPhase) | 	subPhases = append(subPhases, saPhase) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Prow Robot
					Kubernetes Prow Robot