fix: `debug-container` plugin when KUBECONFIG has multiple files (#3625)

Also,
- bump netshoot image
- add `--profile=sysadmin` to create a privileged pod
mine
Giuseppe Crinò 2025-10-18 18:03:44 +02:00 committed by GitHub
parent 4cadf28a5c
commit ea2b624cf5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -12,4 +12,4 @@ plugins:
confirm: true
args:
- -c
- "kubectl --kubeconfig=$KUBECONFIG debug -it --context $CONTEXT -n=$NAMESPACE $POD --target=$NAME --image=nicolaka/netshoot:v0.13 --share-processes -- bash"
- "kubectl debug -it --context $CONTEXT -n=$NAMESPACE $POD --target=$NAME --image=nicolaka/netshoot:v0.14 --profile=sysadmin --share-processes -- bash"