Support KAS
This PR adds configurations for external / built-in KAS and installation process to build built-in KAS.
Close #2736
External KAS settings implemented by @antt1995 (in #2598, rebased by @kkimurak)
Built-in KAS build process implemented by @kkimurak
Built-in KAS configuration test, improvements and updates until it works by @th-2021
TODO
- [ ] Documentation cleanup, verify that the actual behavior matches the documentation
Should we make the builtin kas the only option? Remove GITLAB_AGENT_BUILTIN_KAS_ENABLED?
One last fix on my side. Now kubernetes dashboard is working.
@th-2021 Thanks, I cherry-picked 4a4c484 .
For GITLAB_AGENT_BUILTIN_KAS_ENABLED removal, I'm not sure. Some people may want to continue using the existing KAS and connect it to sameersbn/gitlab (although I can't imagine many situations where KAS is running alone).
For those who interested, I have pushed self built image kkimurak/sameersbn-gitlab:18.5.1-kas-8d3907d to docker hub. I look forward to feedback. I really don't use k8s so want to hear test report and opinion from users.
We are really looking forward to the implementation of this function in the main project code, @kkimurak and @th-2021 thank you very much for the work done