Skip to content

Configure external GitLab URL for KAS CORS

Timo Furrer requested to merge kas-external-url into main

What does this merge request do and why?

In Add cookie-based user access to the k8s API proxy (gitlab-org/cluster-integration/gitlab-agent!841 - merged) we've introduced a new configuration attribute external_url for kas.gitlab. It's used for configuring the allowed origins for CORS when using the KAS proxy. The value of external_url must be a valid scheme + domain + port value of the GitLab frontend.

Impacted categories

The following categories relate to this merge request:

Merge request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise an issue to follow-up.
  • Documentation added/updated, if needed.
  • Announcement added, if change is notable.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.

Merge request reports