Add CUSTOM_MACROS to ConfigMap

This commit is contained in:
M. Mert Yildiran
2024-12-23 21:25:11 +03:00
parent 29de008f22
commit 17759d296d
4 changed files with 46 additions and 9 deletions

View File

@@ -50,6 +50,7 @@ data:
{{- end }}'
DUPLICATE_TIMEFRAME: '{{ .Values.tap.misc.duplicateTimeframe }}'
ENABLED_DISSECTORS: '{{ gt (len .Values.tap.enabledDissectors) 0 | ternary (join "," .Values.tap.enabledDissectors) "" }}'
CUSTOM_MACROS: '{{ toJson .Values.tap.customMacros }}'
DISSECTORS_UPDATING_ENABLED: '{{ .Values.dissectorsUpdatingEnabled | ternary "true" "false" }}'
DETECT_DUPLICATES: '{{ .Values.tap.misc.detectDuplicates | ternary "true" "false" }}'
PCAP_DUMP_ENABLE: '{{ .Values.pcapdump.enabled }}'

View File

@@ -85,10 +85,6 @@ tap:
filter: ""
canDownloadPCAP: true
canUseScripting: true
scriptingPermissions:
canSave: true
canActivate: true
canDelete: true
canUpdateTargetedPods: true
canStopTrafficCapturing: true
showAdminConsoleLink: true
@@ -121,7 +117,6 @@ tap:
- SYS_ADMIN
- SYS_PTRACE
- DAC_OVERRIDE
- IPC_LOCK
ebpfCapture:
- SYS_ADMIN
- SYS_PTRACE
@@ -139,6 +134,7 @@ tap:
- syscall
- ws
- ldap
customMacros: {}
metrics:
port: 49100
pprof:
@@ -165,6 +161,7 @@ pcapdump:
maxTime: 1h
maxSize: 500MB
pcapSrcDir: pcapdump
time: time
kube:
configPath: ""
context: ""