Update Gitlab agent version outdated text
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 |
---|---|
![]() |
![]() |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Prerequisites:
- NGINX, loopback interface, and HTTPS set up on your GDK
- Docker instance
- KAS enabled on GDK (steps 1-2 from the guide).
- Visit Projects -> Operate -> Kubernetes clusters
- Add a new agent by selecting Connect a cluster button
- Follow the instructions in the modal and copy the command to install the agent
- 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.
- Update the command to install an earlier agent version (
--set image.tag=v16.9.0 \
should work)