Skip to content

Agent registration UI

Tiger Watson requested to merge 327855-add-agent-ui into master

What does this MR do?

Enables the modal added in !64981 (merged) and !65940 (merged) to the GitLab Agent managed clusters page that allows a user to register a pre-configured Kubernetes Agent.

It assumes that at least one agent has already been configured with a config.yaml file in the repository (messaging if this is not the case is being addressed in #327854 (closed)).

Once an agent has been selected and registered, the newly generated token will be shown (once), and the user can use this to install the agent into their cluster.

Screenshots (strongly suggested)

Empty agent page: image

Selecting an agent: image

Agent registered: image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #327855 (closed)

Edited by Tiger Watson

Merge request reports