Skip to content

Update Gitlab agent version outdated text

Anna Vovchenko requested to merge anna/update-version-outdated-text into master

What does this MR do and why?

When the GitLab agent is out of sync with the KAS, we show a warning and an explanatory tooltip. The wording there might be confusing as it mentions the GitLab version while it looks for the KAS version.

This MR also cleans up the gitlabVersion usage as it was left there with Compare agent version against KAS version (!87010 - merged) to ensure backward compatibility. We don't need it anymore.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-02-21_at_20.58.28 Screenshot_2024-02-22_at_18.02.46

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Prerequisites:

  1. Visit Projects -> Operate -> Kubernetes clusters
  2. Add a new agent by selecting Connect a cluster button
  3. Follow the instructions in the modal and copy the command to install the agent
  4. Follow points 3-8 from the guide and then the Deploy the GitLab Agent (agentk) with k3d section to create a local cluster and connect your agent with the cluster.
  5. Update the command to install an earlier agent version ( --set image.tag=v16.9.0 \ should work)

Related to gitlab-org/cluster-integration/gitlab-agent#531

Edited by Anna Vovchenko

Merge request reports