Kubernetes Agent Registration dialog reloads the page when Enter is pressed
requested to merge 356584-kubernetes-agent-registration-dialog-reloads-the-page-when-enter-is-pressed into master
What does this MR do and why?
This MR fixes the bug when clicking enter during the agent creation reloaded the page.
Screenshots or screen recordings
How to set up and validate locally
To enable KAS in your GDK, follow the first part of this documentation:
-
Add the following settings in the
gdk.yml
gitlab_k8s_agent: enabled: true
-
gdk update
-
gdk reconfigure
-
gdk restart
When KAS is enabled the agent feature is available through GDK.
- Visit Infrastructure -> Kubernetes clusters.
- Select Connect a cluster (agent).
- In the modal select Select an agent or enter a name to create new dropdown using the keyboard.
- Type the name of the new agent and press enter.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Review progress:
Related to #356584 (closed)
Edited by Simon Knox