We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d18538 commit a312d40Copy full SHA for a312d40
kubectl-user-exec renamed to kubectl-exec-as
@@ -2,7 +2,7 @@
2
3
trap 'kubectl delete pod $container >/dev/null 2>&1 &' 0 1 2 3 15
4
5
-usage() { echo -e "Usage: kubectl user-exec -u <user> -p <pod name>" && grep " .)\ #" $0 | sed 's|^ |-|g'; exit 0; }
+usage() { echo -e "Usage: kubectl exec-as -u <user> -p <pod name>" && grep " .)\ #" $0 | sed 's|^ |-|g'; exit 0; }
6
[ $# -eq 0 ] && usage
7
8
while getopts ":u:c:p:h" arg; do
0 commit comments