Skip to content

Commit a312d40

Browse files
author
jordan
committed
Use name exec-as
1 parent 9d18538 commit a312d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kubectl-user-exec renamed to kubectl-exec-as

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
trap 'kubectl delete pod $container >/dev/null 2>&1 &' 0 1 2 3 15
44

5-
usage() { echo -e "Usage: kubectl user-exec -u <user> -p <pod name>" && grep " .)\ #" $0 | sed 's|^ |-|g'; exit 0; }
5+
usage() { echo -e "Usage: kubectl exec-as -u <user> -p <pod name>" && grep " .)\ #" $0 | sed 's|^ |-|g'; exit 0; }
66
[ $# -eq 0 ] && usage
77

88
while getopts ":u:c:p:h" arg; do

0 commit comments

Comments
 (0)