-
Notifications
You must be signed in to change notification settings - Fork 525
Expand file tree
/
Copy pathtetragon_configmap.yaml
More file actions
83 lines (83 loc) · 3.35 KB
/
tetragon_configmap.yaml
File metadata and controls
83 lines (83 loc) · 3.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-config
namespace: {{ .Release.Namespace }}
labels:
{{- include "tetragon.labels" . | nindent 4 }}
data:
cluster-name: {{ .Values.tetragon.clusterName | quote }}
{{- if .Values.tetragon.btf }}
btf: {{ .Values.tetragon.btf }}
{{- end }}
procfs: /procRoot
debug: {{ .Values.tetragon.debug | quote }}
enable-process-cred: {{ .Values.tetragon.enableProcessCred | quote }}
enable-process-ns: {{ .Values.tetragon.enableProcessNs | quote }}
process-cache-size: {{ .Values.tetragon.processCacheSize | quote }}
{{- if .Values.tetragon.exportFilename }}
export-filename: {{ .Values.exportDirectory}}/{{ .Values.tetragon.exportFilename }}
export-file-perm: {{ .Values.tetragon.exportFilePerm | quote }}
export-file-max-size-mb: {{ .Values.tetragon.exportFileMaxSizeMB | quote }}
export-file-max-backups: {{ .Values.tetragon.exportFileMaxBackups | quote }}
export-file-compress: {{ .Values.tetragon.exportFileCompress | quote }}
export-allowlist: |-
{{- .Values.tetragon.exportAllowList | trim | nindent 4 }}
export-denylist: |-
{{- .Values.tetragon.exportDenyList | trim | nindent 4 }}
field-filters: |-
{{- .Values.tetragon.fieldFilters | trim | nindent 4 }}
redaction-filters: |-
{{- .Values.tetragon.redactionFilters | trim | nindent 4 }}
export-rate-limit: {{ .Values.tetragon.exportRateLimit | quote }}
{{- end }}
{{- if .Values.tetragon.enableK8sAPI }}
enable-k8s-api: "true"
{{- end }}
{{- if .Values.tetragon.prometheus.enabled }}
metrics-server: {{ .Values.tetragon.prometheus.address }}:{{ .Values.tetragon.prometheus.port }}
{{- else }}
metrics-server: ""
{{- end }}
{{- if .Values.tetragon.prometheus.enabled }}
metrics-label-filter: {{ .Values.tetragon.prometheus.metricsLabelFilter }}
{{- end }}
{{- if .Values.tetragon.grpc.enabled }}
server-address: {{ .Values.tetragon.grpc.address }}
{{- else }}
server-address: ""
{{- end }}
{{- if .Values.tetragon.healthGrpc.enabled }}
health-server-address: :{{ .Values.tetragon.healthGrpc.port }}
health-server-interval: {{ .Values.tetragon.healthGrpc.interval | quote }}
{{- else }}
health-server-address: ""
{{- end }}
{{- if .Values.tetragon.gops.enabled }}
gops-address: {{ .Values.tetragon.gops.address }}:{{ .Values.tetragon.gops.port }}
{{- end }}
{{- if .Values.tetragon.enablePolicyFilter }}
enable-policy-filter: "true"
{{- end }}
{{- if .Values.tetragon.enablePolicyFilterCgroupMap }}
enable-policy-filter-cgroup-map: "true"
{{- end }}
{{- if .Values.tetragon.enablePolicyFilterDebug }}
enable-policy-filter-debug: "true"
{{- end }}
{{- if .Values.tetragon.enableMsgHandlingLatency }}
enable-msg-handling-latency: "true"
{{- end }}
enable-pod-info: {{ .Values.tetragonOperator.podInfo.enabled | quote }}
enable-tracing-policy-crd: {{ .Values.tetragonOperator.tracingPolicy.enabled | quote }}
{{- if .Values.tetragon.pprof.enabled }}
pprof-address: {{ .Values.tetragon.pprof.address }}:{{ .Values.tetragon.pprof.port }}
{{- end }}
event-cache-retries: {{ .Values.tetragon.eventCacheRetries | quote }}
event-cache-retry-delay: {{ .Values.tetragon.eventCacheRetryDelay | quote }}
{{- include "configmap.extra" . | nindent 2 }}
{{- if .Values.tetragon.enableKeepSensorsOnExit }}
keep-sensors-on-exit: "true"
release-pinned-bpf: "false"
{{- end }}
process-cache-gc-interval: {{ .Values.tetragon.processCacheGCInterval | quote }}