mirror of
https://github.com/gwg313/homelab-gitops.git
synced 2026-06-27 00:50:12 +00:00
update
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
bfe8435665
commit
8d74a625bc
37 changed files with 224 additions and 103 deletions
10
platform/tetragon/core/Chart.yaml
Normal file
10
platform/tetragon/core/Chart.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
apiVersion: v2
|
||||
name: tetragon
|
||||
description: Setup Tetrgon
|
||||
type: application
|
||||
version: 1.0.0
|
||||
appVersion: 1.0.0
|
||||
dependencies:
|
||||
- name: tetragon
|
||||
repository: https://helm.cilium.io
|
||||
version: 1.7.0
|
||||
13
platform/tetragon/core/values.yaml
Normal file
13
platform/tetragon/core/values.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
tetragon:
|
||||
enabled: true
|
||||
|
||||
export:
|
||||
enabled: true
|
||||
|
||||
# --- TALOS OS KERNEL MOUNT TUNING ---
|
||||
btf: /sys/kernel/btf/vmlinux
|
||||
|
||||
bpf:
|
||||
mountPath: /sys/fs/bpf
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
21
platform/tetragon/policies/example.yaml
Normal file
21
platform/tetragon/policies/example.yaml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
apiVersion: cilium.io/v1alpha1
|
||||
kind: TracingPolicy
|
||||
metadata:
|
||||
name: "fd-install"
|
||||
spec:
|
||||
kprobes:
|
||||
- call: "fd_install"
|
||||
syscall: false
|
||||
args:
|
||||
- index: 0
|
||||
type: "int"
|
||||
- index: 1
|
||||
type: "file"
|
||||
selectors:
|
||||
- matchArgs:
|
||||
- index: 1
|
||||
operator: "Equal"
|
||||
values:
|
||||
- "/tmp/tetragon"
|
||||
matchActions:
|
||||
- action: Sigkill
|
||||
5
platform/tetragon/policies/kustomization.yaml
Normal file
5
platform/tetragon/policies/kustomization.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- example.yaml
|
||||
Loading…
Add table
Add a link
Reference in a new issue