From d470a462ffca283a8277d3cbdd40bcf41858a528 Mon Sep 17 00:00:00 2001 From: Kirsten G Date: Wed, 12 Jun 2019 10:34:49 -0700 Subject: [PATCH] add mco image flag to bootstrap.go This is a prep step for folding all mco component images into one mco image. This flag will also be added to the installer. Related-to: #739 --- cmd/machine-config-operator/bootstrap.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/machine-config-operator/bootstrap.go b/cmd/machine-config-operator/bootstrap.go index ab579b6749..824301ce64 100644 --- a/cmd/machine-config-operator/bootstrap.go +++ b/cmd/machine-config-operator/bootstrap.go @@ -38,6 +38,7 @@ var ( mccImage string mcdImage string mcsImage string + mcoImage string networkConfigFile string oscontentImage string pullSecretFile string @@ -61,6 +62,7 @@ func init() { bootstrapCmd.MarkFlagRequired("machine-config-server-image") bootstrapCmd.PersistentFlags().StringVar(&bootstrapOpts.mcdImage, "machine-config-daemon-image", "", "Image for Machine Config Daemon.") bootstrapCmd.MarkFlagRequired("machine-config-daemon-image") + bootstrapCmd.PersistentFlags().StringVar(&bootstrapOpts.mcoImage, "machine-config-operator-image", "", "Image for Machine Config Operator.") bootstrapCmd.PersistentFlags().StringVar(&bootstrapOpts.oscontentImage, "machine-config-oscontent-image", "", "Image for osImageURL") bootstrapCmd.MarkFlagRequired("machine-config-oscontent-image") bootstrapCmd.PersistentFlags().StringVar(&bootstrapOpts.etcdImage, "etcd-image", "", "Image for Etcd.")