Add support for host aliases in services for Kubernetes executor
What does this MR do?
Adds supports for service aliases in the build, allowing accessing services by their hostname instead of on localhost only.
This MR is based on !1355 (closed).
Why was this MR needed?
The functionality was documented in the ci docs but didn't work in the k8s executor. So migrating jobs from the docker executor was breaking builds if they were to use hostnames.
Are there points in the code the reviewer needs to double check?
Does this MR meet the acceptance criteria?
- Documentation created/updated
- Added tests for this feature/bug
masterwas rebased to get the latest pipeline updates
What are the relevant issue numbers?
Closes #2229 (closed)