diff --git a/README.md b/README.md index 04fb58e..1bcec2e 100644 --- a/README.md +++ b/README.md @@ -34,5 +34,5 @@ kubectl create -f https://git.cryptic.systems/volker.raschek/network-tools/raw/b Execute a shell inside the container by ```bash -kubectl exec -it network-tools -- sh +kubectl exec -it network-tools -- bash ``` diff --git a/network-tools.yml b/network-tools.yml index 2ed5c46..450656e 100644 --- a/network-tools.yml +++ b/network-tools.yml @@ -8,4 +8,10 @@ spec: image: volkerraschek/network-tools:latest command: [ "sleep", "3600" ] imagePullPolicy: Always + securityContext: + capabilities : + runAsUser: 1000 + add: + - NET_ADMIN + - SYS_TIME restartPolicy: Always \ No newline at end of file