mirror of
https://github.com/openshift/installer.git
synced 2026-02-06 09:47:02 +01:00
* pkg/asset/manifests: add MCO operator manifest Adds manifest generation for MCO configuration. Currently the manifest is only generated when custom boot images are specified, in order to disable MCO management of those boot images. The manifest generation uses a golang template as testing revealed that API server validation would not permit the manifests generated from serializing the golang structs, which would be more consistent with how we generate manifests for other openshift operators. As golang will populate the zero value for any non-pointer struct this triggered validation, where the API server expected certain required fields for these zero-value structs. Using a template allows us to bypass this problem. Fixes OCPBUGS-57348 * fixup! pkg/asset/manifests: add MCO operator manifest * fixup! pkg/asset/manifests: add MCO operator manifest