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

[Core] Prevent usage of the `Version` field

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • 2
    • False
    • None
    • False
    • OCPSTRAT-683 - Migrate MAPI to Cluster API for AWS -Phase 1
    • CLOUD Sprint 262, CLOUD Sprint 267

      Background

      The version field within the CAPI MacineSpec 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.

      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>

              Unassigned Unassigned
              joelspeed Joel Speed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: