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

Generate GCPCluster resource for CAPI clusters

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • CLOUD Sprint 252, CLOUD Sprint 256, CLOUD Sprint 257, CLOUD Sprint 258

      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-gcp/openshift
      • Create a controller in the above module Go to manage the GCPCluster resource for non-capi bootstrapped clusters
      • Ensure the GCPCluster controller is only enabled for AWS platform clusters
      • Create an "externally-managed" GCPCluster resource and manage the status to ensure Machine's can correctly be created
      • Populate any required spec/status fields in the GCPCluster spec using the controller
      • (Refer to openstack implementation)
      •  

      Stakeholders

      • Cluster Infra

      Definition of Done

      • GCPCluster resource is correctly created and populated on GCP 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:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: