Backport: Guard Gateway API route templates with service enabled checks

What does this MR do?

Backport !4916 (merged) to 9.10 as it solves several potential warnings and unnecessary rendered resources.

Changes from !4916 (merged):

  • Do not guard the KAS BackendTrafficPolicy as this feature is not present in 9.10.
  • Resolve a minor conflict in the spec.

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, and test plan for scenarios not covered by automated tests.
  • Equivalent MR/issue for omnibus-gitlab opened.

Reviewers checklist

Edited by Clemens Beck

Merge request reports

Loading
Loading