Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-51991

HCO API: deprecate spec.featureGates.EnableCommonBootImageImport

XMLWordPrintable

    • None

      add a new field spec.EnableCommonBootImageImport and deprecate the old spec.featureGates.EnableCommonBootImageImport:

      • Add the new spec.EnableCommonBootImageImport field, with the default value of "true" (x 2 places in the hyperconverged_types.go file)
      • Change the HCO code logic to only use the new field
      • deprecate the spec.featureGates.EnableCommonBootImageImport field; add a commet that this field is ignored. Remove the default value from the deprecated field (x 3 places in the hyperconverged_types.go file).
      • Add 2 json patch entries to the upgradePatches.json file; This should be done both in upstream and downstream:
        • Check if the deprecated field value is "false", and if this is the case, copy the deprecated field value to the new field.
        • Remove the deprecated field.
      • Upstream documentation: Fix the documentation in docs/cluster-configuration.md, to point only to the new field.

              nunnatsa Nahshon Unna Tsameret
              nunnatsa Nahshon Unna Tsameret
              Krzysztof Majcher Krzysztof Majcher
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: