Merge pull request #120072 from SataQiu/fix-kubeadm-20230820

kubeadm: fix the bug that `--image-repository` flag is missing for some init phase sub-commands
This commit is contained in:
Kubernetes Prow Robot 2023-08-21 01:27:22 -07:00 committed by GitHub
commit a1fdef7d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ func NewKubeletStartPhase() workflow.Phase {
Run: runKubeletStart,
InheritFlags: []string{
options.CfgPath,
options.ImageRepository,
options.NodeCRISocket,
options.NodeName,
options.Patches,

View File

@ -46,6 +46,7 @@ func NewPreflightPhase() workflow.Phase {
Run: runPreflight,
InheritFlags: []string{
options.CfgPath,
options.ImageRepository,
options.NodeCRISocket,
options.IgnorePreflightErrors,
options.DryRun,