diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index 6bf30f2c3..a01d9bcec 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -164,6 +164,7 @@ type TapConfig struct { PodRegexStr string `yaml:"regex" json:"regex" default:".*"` Namespaces []string `yaml:"namespaces" json:"namespaces" default:"[]"` BpfOverride string `yaml:"bpfOverride" json:"bpfOverride" default:""` + Stopped bool `yaml:"stopped" json:"stopped" default:"false"` Release ReleaseConfig `yaml:"release" json:"release"` PersistentStorage bool `yaml:"persistentStorage" json:"persistentStorage" default:"false"` PersistentStorageStatic bool `yaml:"persistentStorageStatic" json:"persistentStorageStatic" default:"false"` diff --git a/helm-chart/templates/12-config-map.yaml b/helm-chart/templates/12-config-map.yaml index e9d0e6fe8..27a7e6539 100644 --- a/helm-chart/templates/12-config-map.yaml +++ b/helm-chart/templates/12-config-map.yaml @@ -10,6 +10,7 @@ data: POD_REGEX: '{{ .Values.tap.regex }}' NAMESPACES: '{{ gt (len .Values.tap.namespaces) 0 | ternary (join "," .Values.tap.namespaces) "" }}' BPF_OVERRIDE: '{{ .Values.tap.bpfOverride }}' + STOPPED: '{{ .Values.tap.stopped }}' SCRIPTING_SCRIPTS: '{}' INGRESS_ENABLED: '{{ .Values.tap.ingress.enabled }}' INGRESS_HOST: '{{ .Values.tap.ingress.host }}' diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index d2c60d69b..1ab98d3e6 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -19,6 +19,7 @@ tap: regex: .* namespaces: [] bpfOverride: "" + stopped: false release: repo: https://helm.kubeshark.co name: kubeshark diff --git a/manifests/complete.yaml b/manifests/complete.yaml index 38ac0b01d..e7cf67ff6 100644 --- a/manifests/complete.yaml +++ b/manifests/complete.yaml @@ -225,6 +225,7 @@ data: POD_REGEX: '.*' NAMESPACES: '' BPF_OVERRIDE: '' + STOPPED: 'false' SCRIPTING_SCRIPTS: '{}' INGRESS_ENABLED: 'false' INGRESS_HOST: 'ks.svc.cluster.local'