moved headless to root config, use headless in view (#450)

This commit is contained in:
RoyUP9
2021-11-11 12:11:02 +02:00
committed by GitHub
parent 5382a52025
commit ea0b3fb34e
7 changed files with 20 additions and 14 deletions

View File

@@ -31,6 +31,7 @@ type ConfigStruct struct {
DumpLogs bool `yaml:"dump-logs" default:"false"`
KubeConfigPathStr string `yaml:"kube-config-path"`
ConfigFilePath string `yaml:"config-path,omitempty" readonly:""`
HeadlessMode bool `yaml:"headless" default:"false"`
}
func (config *ConfigStruct) SetDefaults() {