-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
Product / Portfolio Work
-
3
-
False
-
-
False
-
-
-
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".
- links to