Geo: Add setting for ActionCable allowed origins
What does this MR do?
This add a new setting to enable admins to setup allowed origins for websocket requests through ActionCable in order to ensure communication between secondary and primary Geo sites via websockets works. This fixes a bug where Duo is not working from secondary sites.
Related issues
- bug issue: Websocket requests (impacting Classic Duo Chat)... (gitlab-org/gitlab#579074)
- Rails MR: Geo: Add setting for ActionCable allowed origins (gitlab-org/gitlab!213206 - merged)
- Omnibus MR: Geo: Add setting for ActionCable allowed origins (gitlab-org/omnibus-gitlab!8910 - merged)
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
-
MR has a green pipeline on https://gitlab.com/gitlab-org/charts/gitlab. -
Consider downstream impact to the Operator, as per evaluating impact from changes to GitLab chart.
Edited by Clemens Beck