mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-05 02:31:07 +00:00
🔨 Add scripting.activateOnCreation
helm value
This commit is contained in:
parent
df1628e1a4
commit
30c9ddd93e
@ -12,12 +12,13 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type ScriptingConfig struct {
|
type ScriptingConfig struct {
|
||||||
Env map[string]interface{} `yaml:"env" json:"env" default:"{}"`
|
Env map[string]interface{} `yaml:"env" json:"env" default:"{}"`
|
||||||
Source string `yaml:"source" json:"source" default:""`
|
Source string `yaml:"source" json:"source" default:""`
|
||||||
Sources []string `yaml:"sources" json:"sources" default:"[]"`
|
Sources []string `yaml:"sources" json:"sources" default:"[]"`
|
||||||
WatchScripts bool `yaml:"watchScripts" json:"watchScripts" default:"true"`
|
WatchScripts bool `yaml:"watchScripts" json:"watchScripts" default:"true"`
|
||||||
Active []string `yaml:"active" json:"active" default:"[]"`
|
Active []string `yaml:"active" json:"active" default:"[]"`
|
||||||
Console bool `yaml:"console" json:"console" default:"true"`
|
ActivateOnCreation bool `yaml:"activateOnCreation" json:"activateOnCreation" default:"true"`
|
||||||
|
Console bool `yaml:"console" json:"console" default:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (config *ScriptingConfig) GetScripts() (scripts []*misc.Script, err error) {
|
func (config *ScriptingConfig) GetScripts() (scripts []*misc.Script, err error) {
|
||||||
|
@ -258,6 +258,7 @@ scripting:
|
|||||||
sources: []
|
sources: []
|
||||||
watchScripts: true
|
watchScripts: true
|
||||||
active: []
|
active: []
|
||||||
|
activateOnCreation: true
|
||||||
console: true
|
console: true
|
||||||
timezone: ""
|
timezone: ""
|
||||||
logLevel: warning
|
logLevel: warning
|
||||||
|
Loading…
Reference in New Issue
Block a user