Uploaded image for project: 'OpenShift Cloud'
  1. OpenShift Cloud
  2. OCPCLOUD-2714

[Core] Prevent setting of certain CAPI fields that are not supported by MAPI

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • None
    • None
    • CLOUD Sprint 271, CLOUD Sprint 272, CLOUD Sprint 273, CLOUD Sprint 274, CLOUD Sprint 275, CLOUD Sprint 276, CLOUD Sprint 277

      Background

      The version field within the CAPI MachineSpec and therefore CAPI MachineSet template spec is not used in openshift, and should be forbidden in the openshift-cluster-api namespace.

      VAP should be introduced to prevent the usage of these fields in the openshift-cluster-api namespace.

      Steps

      • Create VAPs that prevent the setting of the `version` field in the Machine spec and MachineSet template spec.
      • Create VAPs that prevent the setting of the `readinessGates` field in the Machine spec and MachineSet template spec.

      Stakeholders

      • Cluster Infra

      Definition of Done

      • When attempting to set the version field on a machineset or machine, an error is produced and the change is not persisted
      • Docs
      • <Add docs requirements for this card>
      • Testing
      • <Explain testing that will be added>

              raryan@redhat.com Rachel Ryan
              joelspeed Joel Speed
              None
              None
              Milind Yadav Milind Yadav
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: