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

[AWS] Prevent usage of various AWSMachineSpec fields

XMLWordPrintable

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

      Background

      CAPA supports a number of fields/features that don't make sense in OpenShift. To prevent issues with general usage and conversion, we should prevent users from leveraging these fields at all.

      A VAP should be introduced to cover AWSMachineTemplate and AWSMachines that prevents the use of the following spec fields

      • spec.ami.eksOptimizedLookupType
      • spec.imageLookupFormat
      • spec.imageLookupOrg
      • spec.imageLookupBaseOS
      • spec.networkInterfaces
      • spec.uncompressedUserData
      • spec.cloudInit
      • spec.privateDNSName
      • spec.ignition.proxy
      • spec.ignition.tls

      Steps

      • Create a VAP and binding in the cluster-api-provider-aws repo that will be added to the transport configmap
      • Prevent the usage of each of the above fields with a unique rule
      • Scope the VAP to only the openshift-cluster-api namespace

      Stakeholders

      • Cluster Infra

      Definition of Done

      • Unsupported fields cannot be used in the openshift-cluster-api namespace
      • 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: