mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 18:11:22 +00:00
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:
@@ -46,6 +46,7 @@ func NewKubeletStartPhase() workflow.Phase {
|
|||||||
Run: runKubeletStart,
|
Run: runKubeletStart,
|
||||||
InheritFlags: []string{
|
InheritFlags: []string{
|
||||||
options.CfgPath,
|
options.CfgPath,
|
||||||
|
options.ImageRepository,
|
||||||
options.NodeCRISocket,
|
options.NodeCRISocket,
|
||||||
options.NodeName,
|
options.NodeName,
|
||||||
options.Patches,
|
options.Patches,
|
||||||
|
@@ -46,6 +46,7 @@ func NewPreflightPhase() workflow.Phase {
|
|||||||
Run: runPreflight,
|
Run: runPreflight,
|
||||||
InheritFlags: []string{
|
InheritFlags: []string{
|
||||||
options.CfgPath,
|
options.CfgPath,
|
||||||
|
options.ImageRepository,
|
||||||
options.NodeCRISocket,
|
options.NodeCRISocket,
|
||||||
options.IgnorePreflightErrors,
|
options.IgnorePreflightErrors,
|
||||||
options.DryRun,
|
options.DryRun,
|
||||||
|
Reference in New Issue
Block a user