Files
SODEW/sodew-bash-main/assets/k3s/templates/debug.yaml
T
2026-08-18 09:40:08 +02:00

20 lines
413 B
YAML

{{- if .Values.debugHelm }}
---
apiVersion: v1
kind: Pod
metadata: { name: debug, namespace: "{{ .Values.namespace }}" }
spec:
containers:
- name: debug
image: nicolaka/netshoot:latest
command: ["sh","-c","sleep infinity"]
stdin: true
tty: true
securityContext:
capabilities:
add: ["NET_RAW","NET_ADMIN"] # for tcpdump/mtr
restartPolicy: Never
{{- end }}