We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8161391 + cdf2bba commit 60da15eCopy full SHA for 60da15e
bash/kubectl-sudo
@@ -27,7 +27,7 @@ do
27
done
28
29
if [ -z "${PLUGIN_NAME}" ]; then
30
- kubectl --as=${USER} --as-group=system:masters "$@"
+ exec kubectl --as=${USER} --as-group=system:masters "$@"
31
else
32
- kubectl ${PLUGIN_NAME} --as=${USER} --as-group=system:masters ${NEW_ARGS}
+ exec kubectl ${PLUGIN_NAME} --as=${USER} --as-group=system:masters ${NEW_ARGS}
33
fi
0 commit comments