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

[HCP Add Machine Pool] Add IMDS v2/v1 selection

XMLWordPrintable

    • OCMUI Center Team Sprint 273

      Add IMDS radiobuttons to HCP Cluster's 'Add Machine Pool' modal:

      Acceptance Criteria

      • The IMDS v2/v1 radiobuttons need to be added to the "Add Machine Pool" modal for a HCP cluster.
      • The default value is "Optional" (same for rosa classic)
      • Upon 'Add mp'/save/submit, the IMDS value of 'optional' or 'required' (aws.ec2_metadata_http_tokens = required | optional) is sent to the Backend  API: apiRequest.post<MachinePool>api/clusters_mgmt/v1/clusters/${clusterID}/node_pools

      Implementation Details

      • src/queries/ClusterDetailsQueries/MachinePoolTab/useEditCreateMachineOrNodePools.ts is used for "Edit|Add Machine [node] Pool" modal for HCP.  It already has api call to: api/clusters_mgmt/v1/clusters/${clusterID}/node_pools which does support "ec2_metadata_http_tokens".  

        1. IMDS_Radiobuttons.png
          20 kB
          David Taylor
        2. HC-add-mp-IMDS.jpg
          600 kB
          David Taylor

              rh-ee-daznauro David Aznaurov
              dtaylor@redhat.com David Taylor
              Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: