fix: capabilities
This commit is contained in:
parent
93f314f984
commit
b1a00c7170
@ -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
|
||||
```
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user