scripting-revamp-1 (#1630)

* First commit in this PR
Added `scripting.active` as a helm value

* added `scripting.active` to the config struct and the helm chart
this array of strings will include the active script titles

* updated the `active` filed in the script struct

* go mod tidy

* update go ver to 1.21.1
This commit is contained in:
Alon Girmonsky
2024-10-15 10:35:38 -07:00
committed by GitHub
parent cc3f8c86ff
commit 674a554767
8 changed files with 99 additions and 25 deletions

View File

@@ -14,6 +14,7 @@ type ScriptingConfig struct {
Env map[string]interface{} `yaml:"env" json:"env" default:"{}"`
Source string `yaml:"source" json:"source" default:""`
WatchScripts bool `yaml:"watchScripts" json:"watchScripts" default:"true"`
Active []string `yaml:"active" json:"active" default:"[]"`
Console bool `yaml:"console" json:"console" default:"true"`
}