Skip to content

fix: WPB-25750 update multi-ingress documentation - #117

Open
mohitrajain wants to merge 5 commits into
mainfrom
WPB-25750-multi-ingress-fix
Open

mohitrajain wants to merge 5 commits into
mainfrom
WPB-25750-multi-ingress-fix

Conversation

@mohitrajain

@mohitrajain mohitrajain commented May 20, 2026

Copy link
Copy Markdown
Contributor

Change type

  • Documentation change
  • Build pipeline change
  • Submodule update
  • Deployment change

Basic information

  • THIS CHANGE REQUIRES A WIRE-DOCS RELEASE NOW

Testing

  • I ran/applied the changes myself, in a test environment.

Tracking

  • I mentioned this PR in Jira, OR I mentioned the Jira ticket in this PR.
  • I mentioned this PR in one of the issues attached to one of our repositories.

@mohitrajain
mohitrajain requested review from a team as code owners May 20, 2026 10:40
Comment on lines 95 to +101
settings:
conversationCodeURI: https://accounts.green.example.org/conversation-join/
conversationCodeURI: https://account.green.example.org/conversation-join/
multiIngress:
red.example.com: https://accounts.red.example.com/conversation-join/
blue.example.net: https://accounts.blue.example.net/conversation-join/
red.example.com: https://account.red.example.com/conversation-join/
blue.example.net: https://account.blue.example.net/conversation-join/
```
Note: `settings.multiIngress` and `settings.conversationCodeURI` are mutually exclusive.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation of multiIngress doesn't seem to be correct. See https://github.com/wireapp/wire-server/blob/de23b558e4130d111c96ce2d5bf9529cafdb5b02/charts/wire-server/values.yaml#L99-L112

The Note is correct, so this is probably working by accident, because multiIngress defaults to null.

Comment thread src/how-to/install/multi-ingress.md
Comment thread src/how-to/install/multi-ingress.md
Comment on lines +347 to +360
### Patch the CSP (Content security policy) for each multi-ingress domain

When the Webapp is used with multi-ingress calling, the ingress CSP configuration must explicitly allow the corresponding Calling endpoint (SFT_DOMAIN).
This update ensures that the browser accepts resources and connections required for calling functionality. The same need to be repeated for each multi-ingress domain. To find out which `SFT_DOMAIN` can be used, continue reading the [Calling](#calling) section.

```bash
d bash
kubectl get ingress nginx-ingress-red -o yaml > nginx-ingress-red.yaml
MULTI_DOMAIN="red.example.com"
SFT_DOMAIN="sft.example-calling.com"
sed -i "s|} https://\\*\\.${MULTI_DOMAIN};|} https://*.${MULTI_DOMAIN} https://${SFT_DOMAIN};|" nginx-ingress-red.yaml
# debug command to verify
kubectl diff -f nginx-ingress-red.yaml
kubectl apply -f nginx-ingress-red.yaml

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is too much duct-tape hacking:

  • The sed statement is brittle (imagine the ingress slightly changes ...).
  • It's confusing to first install and then patch to have it correctly installed.

The way to go is certainly outlines by this PR: github.com/wireapp/wire-server/pull/5236

Though, I'm not sure if it adjusts all CSP parts to get remote SFT working.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that this is a pure hack but we had to patch it before the PR 5236 was created. The PR is sill waiting for approval since long time. Once I merge the PR and it has been released - I will update the documentation.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. Yeah, that's probably a misunderstanding: The backend team probably considered an approval by @smatting as good enough.

I've now reviewed and approved as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants