mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-14 14:43:46 +00:00
🔨 Add GLOBAL_FILTER
field to ConfigMap
This commit is contained in:
parent
2223cad038
commit
6c06307d68
@ -141,6 +141,7 @@ type TapConfig struct {
|
|||||||
DefaultFilter string `yaml:"defaultFilter" json:"defaultFilter"`
|
DefaultFilter string `yaml:"defaultFilter" json:"defaultFilter"`
|
||||||
ReplayDisabled bool `yaml:"replayDisabled" json:"replayDisabled" default:"false"`
|
ReplayDisabled bool `yaml:"replayDisabled" json:"replayDisabled" default:"false"`
|
||||||
Capabilities CapabilitiesConfig `yaml:"capabilities" json:"capabilities"`
|
Capabilities CapabilitiesConfig `yaml:"capabilities" json:"capabilities"`
|
||||||
|
GlobalFilter string `yaml:"globalFilter" json:"globalFilter"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (config *TapConfig) PodRegex() *regexp.Regexp {
|
func (config *TapConfig) PodRegex() *regexp.Regexp {
|
||||||
|
@ -16,3 +16,4 @@ data:
|
|||||||
AUTH_APPROVED_TENANTS: '{{ gt (len .Values.tap.auth.approvedTenants) 0 | ternary (join "," .Values.tap.auth.approvedTenants) "" }}'
|
AUTH_APPROVED_TENANTS: '{{ gt (len .Values.tap.auth.approvedTenants) 0 | ternary (join "," .Values.tap.auth.approvedTenants) "" }}'
|
||||||
TELEMETRY_DISABLED: '{{ not .Values.tap.telemetry.enabled | ternary "true" "" }}'
|
TELEMETRY_DISABLED: '{{ not .Values.tap.telemetry.enabled | ternary "true" "" }}'
|
||||||
REPLAY_DISABLED: '{{ .Values.tap.replayDisabled | ternary "true" "" }}'
|
REPLAY_DISABLED: '{{ .Values.tap.replayDisabled | ternary "true" "" }}'
|
||||||
|
GLOBAL_FILTER: '{{ .Values.tap.globalFilter }}'
|
||||||
|
@ -84,6 +84,7 @@ tap:
|
|||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
- SYS_RESOURCE
|
- SYS_RESOURCE
|
||||||
- CHECKPOINT_RESTORE
|
- CHECKPOINT_RESTORE
|
||||||
|
globalFilter: ""
|
||||||
logs:
|
logs:
|
||||||
file: ""
|
file: ""
|
||||||
kube:
|
kube:
|
||||||
|
@ -101,6 +101,7 @@ data:
|
|||||||
AUTH_APPROVED_TENANTS: ''
|
AUTH_APPROVED_TENANTS: ''
|
||||||
TELEMETRY_DISABLED: ''
|
TELEMETRY_DISABLED: ''
|
||||||
REPLAY_DISABLED: ''
|
REPLAY_DISABLED: ''
|
||||||
|
GLOBAL_FILTER: ''
|
||||||
---
|
---
|
||||||
# Source: kubeshark/templates/02-cluster-role.yaml
|
# Source: kubeshark/templates/02-cluster-role.yaml
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
@ -523,6 +524,8 @@ spec:
|
|||||||
value: ' '
|
value: ' '
|
||||||
- name: REACT_APP_AUTH_ENABLED
|
- name: REACT_APP_AUTH_ENABLED
|
||||||
value: 'false'
|
value: 'false'
|
||||||
|
- name: REACT_APP_REPLAY_DISABLED
|
||||||
|
value: 'false'
|
||||||
image: 'docker.io/kubeshark/front:v52.0.0'
|
image: 'docker.io/kubeshark/front:v52.0.0'
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: kubeshark-front
|
name: kubeshark-front
|
||||||
|
Loading…
Reference in New Issue
Block a user