diff options
| author | Irbe Krumina <irbe@tailscale.com> | 2024-07-23 18:50:55 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-23 16:50:55 +0100 |
| commit | 57856fc0d5cbffdb81d28b0dd94e5ab2110fd58c (patch) | |
| tree | 6579dfd2c238639fc872e1469e9103e1911baa9b /control/controlknobs/controlknobs.go | |
| parent | 9904421853790d97ab479b37453a28b7e26f9311 (diff) | |
| download | tailscale-57856fc0d5cbffdb81d28b0dd94e5ab2110fd58c.tar.xz tailscale-57856fc0d5cbffdb81d28b0dd94e5ab2110fd58c.zip | |
ipn,wgengine/magicsock: allow setting static node endpoints via tailscaled configfile (#12882)
wgengine/magicsock,ipn: allow setting static node endpoints via tailscaled config file.
Adds a new StaticEndpoints field to tailscaled config
that can be used to statically configure the endpoints
that the node advertizes. This field will replace
TS_DEBUG_PRETENDPOINTS env var that can be used to achieve the same.
Additionally adds some functionality that ensures that endpoints
are updated when configfile is reloaded.
Also, refactor configuring/reconfiguring components to use the
same functionality when configfile is parsed the first time or
subsequent times (after reload). Previously a configfile reload
did not result in resetting of prefs. Now it does- but does not yet
tell the relevant components to consume the new prefs. This is to
be done in a follow-up.
Updates tailscale/tailscale#12578
Signed-off-by: Irbe Krumina <irbe@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
