Skip to content

Commit

Permalink
Add k shell shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan McGeary committed Aug 17, 2021
1 parent 86e4d7c commit 148400d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ function kubectl_command {
echo "get pods -o wide $1"
elif [[ "$1" =~ "restart" ]]; then
echo "rollout restart deployment $(basename $PWD)-deployment"
elif [[ "$1" =~ "shell" ]]; then
echo "exec exec --stdin --tty $2"
elif [[ "$1" =~ "context" ]]; then
echo "config use-context $2"
# elif [[ "$1" =~ (deployment ) ]]; then
Expand Down

0 comments on commit 148400d

Please sign in to comment.