fix: `debug-container` plugin when KUBECONFIG has multiple files (#3625)
Also, - bump netshoot image - add `--profile=sysadmin` to create a privileged podmine
parent
4cadf28a5c
commit
ea2b624cf5
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue