skupperproject / skupper-docs

Documentation for the Skupper project
https://skupper.io
5 stars 8 forks source link

allowedOutgoingLinksHostnames: claim vs router+edge #89

Open hash-d opened 2 years ago

hash-d commented 2 years ago

When creating a link using a claim token (as opposed to a cert token), Skupper will first connect to the claim service, and then configure the link to the router (inter-router and possibly edge router).

The claim service and the two routers may be running on different hostnames, depending the Kubernetes distribution and other factors. If that is the case, and the policy is receiving full hostnames, then both hostnames must be listed on the policy.

Similarly, when removing policies, both hostnames need removed: if only the claims hostname is removed, new links will be disallowed, but the existing links will be unaffected.

This should not be an issue when the hostnames are actually regexes that accept any FQDN within a given domain.

The documentation currently does not mention this detail. Please consider whether it should be added to the documentation.

@fgiorgetti to comment.

hash-d commented 2 years ago

I have edited the issue title and description to reflect the information from https://github.com/skupperproject/skupper/issues/762. Adding only the inter-router host may not be enough for allowing the links.

pwright commented 2 years ago

@fgiorgetti Do we need to address this issue soon?