Node name and pod label based pod targeting

This commit is contained in:
M. Mert Yildiran
2025-03-19 19:12:48 +03:00
parent 529ca63a47
commit 9796fed52c
7 changed files with 41 additions and 4 deletions

View File

@@ -10,6 +10,10 @@ data:
POD_REGEX: '{{ .Values.tap.regex }}'
NAMESPACES: '{{ gt (len .Values.tap.namespaces) 0 | ternary (join "," .Values.tap.namespaces) "" }}'
EXCLUDED_NAMESPACES: '{{ gt (len .Values.tap.excludedNamespaces) 0 | ternary (join "," .Values.tap.excludedNamespaces) "" }}'
NODES: '{{ gt (len .Values.tap.nodes) 0 | ternary (join "," .Values.tap.nodes) "" }}'
EXCLUDED_NODES: '{{ gt (len .Values.tap.excludedNodes) 0 | ternary (join "," .Values.tap.excludedNodes) "" }}'
TARGET_LABELS: '{{ .Values.tap.targetLabels | toJson }}'
EXCLUDED_TARGET_LABELS: '{{ .Values.tap.excludedTargetLabels | toJson }}'
BPF_OVERRIDE: '{{ .Values.tap.bpfOverride }}'
STOPPED: '{{ .Values.tap.stopped | ternary "true" "false" }}'
SCRIPTING_SCRIPTS: '{}'

View File

@@ -25,6 +25,10 @@ tap:
regex: .*
namespaces: []
excludedNamespaces: []
nodes: []
excludedNodes: []
targetLabels: {}
excludedTargetLabels: {}
bpfOverride: ""
stopped: false
release: