diff options
| author | Naman Sood <mail@nsood.in> | 2025-10-10 11:02:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-10 11:02:35 -0400 |
| commit | f157f3288d3f35ac348c237b514d7e7b092393ac (patch) | |
| tree | 094bf3a2c64b3a5324dcae9c126481d734d72819 /control/controlhttp/controlhttpserver | |
| parent | 08eae9affda8ca75993e216bf5da9fe80ce0d358 (diff) | |
| download | tailscale-f157f3288d3f35ac348c237b514d7e7b092393ac.tar.xz tailscale-f157f3288d3f35ac348c237b514d7e7b092393ac.zip | |
cmd/tailscale/cli,ipn/conffile: add declarative config mode for Services (#17435)
This commit adds the subcommands `get-config` and `set-config` to Serve,
which can be used to read the current Tailscale Services configuration
in a standard syntax and provide a configuration to declaratively apply
with that same syntax.
Both commands must be provided with either `--service=svc:service` for
one service, or `--all` for all services. When writing a config,
`--set-config --all` will overwrite all existing Services configuration,
and `--set-config --service=svc:service` will overwrite all
configuration for that particular Service. Incremental changes are not
supported.
Fixes tailscale/corp#30983.
cmd/tailscale/cli: hide serve "get-config"/"set-config" commands for now
tailscale/corp#33152 tracks unhiding them when docs exist.
Signed-off-by: Naman Sood <mail@nsood.in>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions
