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

Generate AWSCluster resource for CAPI clusters

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • CLOUD Sprint 249, CLOUD Sprint 250, CLOUD Sprint 251, CLOUD Sprint 252, CLOUD Sprint 253, CLOUD Sprint 254, CLOUD Sprint 255, CLOUD Sprint 256, CLOUD Sprint 257

      Background

      To enable a quick start in CAPI, we want to allow the users to provide just the Machines/MachineSets and the relevant configuration for the Machines. The cluster infrastructure is either not required to be populated, or something they should not care about.

      To enable the quick start, we should create and where applicable, populate required fields for the infrastructure cluster.

      This will go alongside a generated Cluster object and should mean that the `openshift-cluster-api` Cluster is now infrastructure ready.

      Steps

      • Create a separate go module in cluster-api-provider-aws/openshift
      • Create a controller in the above module Go to manage the AWSCluster resource for non-capi bootstrapped clusters
      • Ensure the AWSCluster controller is only enabled for AWS platform clusters
      • Create an "externally-managed" AWSCluster resource and manage the status to ensure Machine's can correctly be created
      • Populate any required spec/status fields in the AWSCluster spec using the controller
      • (Refer to openstack implementation)

      Stakeholders

      • Cluster Infra

      Definition of Done

      • AWSCluster resource is correctly created and populated on AWS clusters
      • Docs
      • <Add docs requirements for this card>
      • Testing
      • <Explain testing that will be added>

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

                Created:
                Updated:
                Resolved: