Skip to content

Capture AWS role for creating EKS clusters

Tiger Watson requested to merge 22392-capture-aws-role-details into master

This MR is part of delivering #22392 (closed). It does not deliver the whole feature. It only delivers the functionality described below:

  • A form that displays two pieces of information in read-only fields: Account ID and External ID
  • The form captures a Role ARN in a text field.
  • When the Role ARN is set, the "Authenticate" button is enabled.
  • When the "Authenticate" button is clicked, if the authentication is successful, the form to create an AWS EKS cluster is displayed.
  • If the authentication fails, a banner is displayed indicating the error.

The form looks like this:

Screen_Shot_2019-10-16_at_4.06.02_PM

Testing

Before testing

  • Enable create_eks_clusters feature flag
  • Enter service account credentials in Admin -> Settings -> Integrations -> EKS Integration

How to test

  • In the sidebar menu, select Operations -> Kubernetes
  • Click "Add Kubernetes cluster" button.
  • Click "Amazon EKS" button.
  • You should see the Role ARN form.
Edited by 🤖 GitLab Bot 🤖

Merge request reports