mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-04-15 06:57:28 +00:00
* Added plugin for ingress network traffic shaping * Documentation changes * Minor changes * Documentation and formatting fixes * Added trap to sleep infinity command running in containers * Removed shell injection threat for modprobe commands * Added docstrings to cerberus functions * Added checks to prevent shell injection * Bug fix
30 lines
547 B
Django/Jinja
30 lines
547 B
Django/Jinja
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: modtools
|
|
spec:
|
|
nodeName: {{nodename}}
|
|
containers:
|
|
- name: modtools
|
|
image: docker.io/fedora/tools
|
|
imagePullPolicy: IfNotPresent
|
|
command:
|
|
- /bin/sh
|
|
- -c
|
|
- "trap : TERM INT; sleep infinity & wait"
|
|
tty: true
|
|
stdin: true
|
|
stdinOnce: true
|
|
securityContext:
|
|
privileged: true
|
|
volumeMounts:
|
|
- name: host
|
|
mountPath: /host
|
|
volumes:
|
|
- name: host
|
|
hostPath:
|
|
path: /
|
|
hostNetwork: true
|
|
hostIPC: true
|
|
hostPID: true
|
|
restartPolicy: Never |