Skip to content

Fix error when installing GitLab Agent from the Agent tab

What does this MR do and why?

The MR fixes a bug when the agent cannot be created from the Agent tab.

Screenshots or screen recordings

Bug behavior:

agent_error

How to set up and validate locally

  1. Go to Infrastructure -> Kubernetes clusters
  2. Try to create an agent using the Actions button:
    • when on All tab
    • when on Agent tab
    • when navigated from All to Agent tab via tab headers
    • when navigated from All to Agent tab via "View all Agents" button

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #353073 (closed)

Edited by Frédéric Caplette

Merge request reports