Add externalTrafficPolicy support to the KAS Service

What does this MR do?

Add externalTrafficPolicy support to the KAS Service

Add service.externalTrafficPolicy to the KAS chart. When set, it is rendered on the main KAS Service if service.type is NodePort or LoadBalancer, the only Service types Kubernetes accepts it on. It is not set by default, so existing renders are unchanged.

Relates to https://gitlab.com/gitlab-com/request-for-help/-/work_items/5612+.

Author checklist

For general guidance, please follow our Contributing guide.

Required

For anything in this list which will not be completed, please provide a reason in the MR discussion.

  • Merge Request Title and Description are up to date, accurate, and descriptive.
  • MR targeting the appropriate branch.
  • MR has a green pipeline.
  • Documentation created/updated.
  • Tests added/updated.
  • Have you validated that your change works end-to-end on a real cluster deployment?
    • Describe how you did it in a comment.
  • Equivalent MR/issue for omnibus-gitlab opened.
  • When ready for review, MR is marked as ready (not a draft) and assigned to a reviewer.

Reviewers checklist

Edited by Mikhail Mazurskiy

Merge request reports

Loading
Loading