Files
krkn/kraken/plugins/network/pod_interface.j2
Shreyas Anantha Ramaprasad 9421a0c2c2 Added support for ingress traffic shaping (#299)
* 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
2022-09-02 07:54:11 +02:00

17 lines
297 B
Django/Jinja

apiVersion: v1
kind: Pod
metadata:
name: fedtools
spec:
hostNetwork: true
nodeName: {{nodename}}
containers:
- name: fedtools
image: docker.io/fedora/tools
command:
- /bin/sh
- -c
- "trap : TERM INT; sleep infinity & wait"
securityContext:
privileged: true