mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-02 14:23:54 +00:00
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,
|
||||
InheritFlags: []string{
|
||||
options.CfgPath,
|
||||
options.ImageRepository,
|
||||
options.NodeCRISocket,
|
||||
options.NodeName,
|
||||
options.Patches,
|
||||
|
||||
@@ -46,6 +46,7 @@ func NewPreflightPhase() workflow.Phase {
|
||||
Run: runPreflight,
|
||||
InheritFlags: []string{
|
||||
options.CfgPath,
|
||||
options.ImageRepository,
|
||||
options.NodeCRISocket,
|
||||
options.IgnorePreflightErrors,
|
||||
options.DryRun,
|
||||
|
||||
Reference in New Issue
Block a user