Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-2331

[OSD-GCP] GCP Private Service Connect - Day 1

    • 5
    • OCMUI Core Sprint 260, OCMUI Core Sprint 261, OCMUI Core Sprint 262

      Acceptance Criteria

      • Please note, textual details added in recent comment.
      • OSD-GCP Wizard: Network->Config: When user selects 'Private' cluster, add checkbox under the 'Install into existing VPC' checkbox called "Private Service Connect",
        • it should be checked by default.
          • If users selects WIF authorization on Step 2, then checkbox should be checked and disabled, so user cannot uncheck it (1)
        • Hide checkbox when Public is selected.
        • (1) WIF doesn't support 'Private without PSC'.  'Service Accounts' authorization does support 'Private without PSC' see thread) Maybe a tooltip explaining why it is selected & disabled.
      • Add a tooltip suggesting Private Service Connect is a recommended option when user selects the “Private” cluster option in the Network Configuration.  rh-ee-mletalie is the Doc resource in XCMSTRAT-107, please contact him for help wordsmithing the tooltip.
      • OSD Wizard, VPC Settings step: Add "Private Service Connect subnet name" dropdown. 

      The same API used to get control\compute subnets should be used to get psc subnet. For all subnets,  It is the same vpc inquiries API  that simply returns list of  subnets available in the selected VPC Network. Please see comment below.

      When "Shared VPC" is checked, dropdowns become text inputs!

      • OSD Wizard->Review step: Networking section:
        • Add "Private Service Connect Enabled|Disabled" field
        • Add PSC subnet value:
      • Create Cluster Request

      The psc subnet is the only info we send in cluster create request API. The PSC configuration should be specified under the GCP section like so:

      "gcp":{
      .....
      "private_service_connect":
      
      {     "service_attachment_subnet": "ck-psc" }

        1. osd-privatelinkCheckbox.png
          osd-privatelinkCheckbox.png
          126 kB
        2. privateLinkSubnet.png
          privateLinkSubnet.png
          127 kB
        3. private-srv-conn-review.png
          private-srv-conn-review.png
          44 kB
        4. Screenshot 2024-10-31 at 8.52.11 AM.png
          Screenshot 2024-10-31 at 8.52.11 AM.png
          77 kB
        5. sharedVPC.png
          sharedVPC.png
          127 kB

              zherman Zac Herman
              dtaylor@redhat.com David Taylor
              Jayakrishnan Mekkattillam
              Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: