Files
tailscale/cmd/connector-gen
Fran Bull b178c46be7 cmd/connector-gen: reduce the routes for github
This script produces output that contains thousands of routes. That's
more than really works well for a lot of tailnets, so reduce the number
of routes, while still enabling use of GitHub's enterprise "allowed IPs"
feature for the app connector IP.

Updates tailscale/corp/#19424
Signed-off-by: Fran Bull <fran@tailscale.com>
2024-05-02 12:27:59 -07:00
..

connector-gen

Generate Tailscale app connector configuration details from third party data.

Tailscale app connectors are used to dynamically route traffic for domain names via specific nodes on a tailnet. For larger upstream domains this may involve a large number of domains or routes, and fully dynamic discovery may be slower or involve more manual labor than ideal. This can be accelerated by pre-configuration of the associated routes, based on data provided by the target providers, which can be used to set precise autoApprovers routes, and also to pre-populate the subnet routes via --advertise-routes avoiding frequent routing reconfiguration that may otherwise occur while routes are first being discovered and advertised by the connectors.