feat: add option to disable tailscale integration

This commit is contained in:
Stavros
2026-05-11 15:48:35 +03:00
parent 8b28e0c3e4
commit bc7c604a7d
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -62,7 +62,7 @@ func NewDefaultConfiguration() *Config {
ConfigFile: "",
},
Tailscale: TailscaleConfig{
Dir: "./state",
Dir: "./tailscale_state",
},
LabelProvider: "auto",
}
@@ -206,6 +206,7 @@ type ExperimentalConfig struct {
}
type TailscaleConfig struct {
Enabled bool `description:"Enable Tailscale integration." yaml:"enabled"`
Dir string `description:"Tailscale state directory." yaml:"dir"`
Hostname string `description:"Tailscale hostname." yaml:"hostname"`
AuthKey string `description:"Tailscale auth key." yaml:"authKey"`