You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/containerboot
Maisem Ali 320f77bd24 cmd/containerboot: add support for setting ServeConfig
This watches the provided path for a JSON encoded ipn.ServeConfig.
Everytime the file changes, or the nodes FQDN changes it reapplies
the ServeConfig.

At boot time, it nils out any previous ServeConfig just like tsnet does.

As the ServeConfig requires pre-existing knowledge of the nodes FQDN to do
SNI matching, it introduces a special `${TS_CERT_DOMAIN}` value in the JSON
file which is replaced with the known CertDomain before it is applied.

Updates #502
Updates #7895

Signed-off-by: Maisem Ali <maisem@tailscale.com>
1 year ago
..
kube.go cmd/containerboot,kube: consolidate the two kube clients 2 years ago
main.go cmd/containerboot: add support for setting ServeConfig 1 year ago
main_test.go types/netmap, all: make NetworkMap.SelfNode a tailcfg.NodeView 1 year ago
test_tailscale.sh cmd/containerboot: make a tests table, add more tests. 2 years ago
test_tailscaled.sh cmd/containerboot: add tests. 2 years ago