fix: capabilities
This commit is contained in:
2 files changed
+7
-1
No files matched your search
@@ -34,5 +34,5 @@ kubectl create -f https://git.cryptic.systems/volker.raschek/network-tools/raw/b
|
|||||||
Execute a shell inside the container by
|
Execute a shell inside the container by
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl exec -it network-tools -- sh
|
kubectl exec -it network-tools -- bash
|
||||||
```
|
```
|
||||||
@@ -8,4 +8,10 @@ spec:
|
|||||||
image: volkerraschek/network-tools:latest
|
image: volkerraschek/network-tools:latest
|
||||||
command: [ "sleep", "3600" ]
|
command: [ "sleep", "3600" ]
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
securityContext:
|
||||||
|
capabilities :
|
||||||
|
runAsUser: 1000
|
||||||
|
add:
|
||||||
|
- NET_ADMIN
|
||||||
|
- SYS_TIME
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
Reference in new issue
Block a user