mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 22:20:51 +00:00
Provide imageRepository override for 'kubeadm config images' commands.
This commit is contained in:
@@ -519,5 +519,6 @@ func AddImagesCommonConfigFlags(flagSet *flag.FlagSet, cfg *kubeadmapiv1beta1.In
|
|||||||
`Choose a specific Kubernetes version for the control plane.`,
|
`Choose a specific Kubernetes version for the control plane.`,
|
||||||
)
|
)
|
||||||
options.AddFeatureGatesStringFlag(flagSet, featureGatesString)
|
options.AddFeatureGatesStringFlag(flagSet, featureGatesString)
|
||||||
|
options.AddImageMetaFlags(flagSet, &cfg.ImageRepository)
|
||||||
flagSet.StringVar(cfgPath, "config", *cfgPath, "Path to kubeadm config file.")
|
flagSet.StringVar(cfgPath, "config", *cfgPath, "Path to kubeadm config file.")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user