Introduce kubeclient remove HTTP related functionality
What does this MR do?
- Remove anything related with HTTP and the old design.
- Introduce
--gitlab-agent-ns
and--timeout-minutes
flags - Create a kube module that wraps all K8S related functions
- Update validator to validate the new flags.
- Introduce exit codes. This is useful because the Gitlab-agent is parsing the exit code not the logs.
- Updates the
Dockerfile
and thereadme.md
Why are we doing this?
This is the first part of the proposed design gitlab-org&11968 (comment 1683845311). In this step we remove the old design. So anything related to HTTP is removed. Then we prepare the way for transforming the trivy report and storing it in configmaps.
What are the relevant issue numbers?
Overall design
gitlab-org&11968 (comment 1683845311)
Merging Order
Edited by Nick Ilieskou