You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flags.StringVar(&o.ToImage, "to-image", o.ToImage, "The location to upload the release image to.")
146
147
flags.StringVar(&o.ToImageBase, "to-image-base", o.ToImageBase, "If specified, the image to add the release layer on top of.")
147
148
flags.StringVar(&o.ToImageBaseTag, "to-image-base-tag", o.ToImageBaseTag, "If specified, the image tag in the input to add the release layer on top of. Defaults to cluster-version-operator.")
149
+
flags.StringVar(&o.ToSignature, "to-signature", o.ToSignature, "If specified, output a message that can be signed that describes this release. Requires --to-image.")
148
150
149
151
// misc
150
152
flags.StringVarP(&o.Output, "output", "o", o.Output, "Output the mapping definition in this format.")
@@ -189,6 +191,7 @@ type NewOptions struct {
189
191
ToImagestring
190
192
ToImageBasestring
191
193
ToImageBaseTagstring
194
+
ToSignaturestring
192
195
193
196
Mirrorstring
194
197
@@ -262,6 +265,9 @@ func (o *NewOptions) Validate() error {
262
265
returnfmt.Errorf("must specify image mappings when no other source is defined")
0 commit comments