Add kubectx and kubens support to Dockerfile and bash completion scripts
All checks were successful
Build k8s-mgmt-pod image / Build & Push (push) Successful in 1m23s
All checks were successful
Build k8s-mgmt-pod image / Build & Push (push) Successful in 1m23s
This commit is contained in:
parent
d582311917
commit
df0eaf0a21
4 changed files with 23 additions and 3 deletions
|
|
@ -13,6 +13,14 @@ if [ -n "${BASH_VERSION:-}" ]; then
|
|||
if [ -r /etc/bash_completion.d/helm ]; then
|
||||
. /etc/bash_completion.d/helm
|
||||
fi
|
||||
|
||||
if [ -r /etc/bash_completion.d/kubectx ]; then
|
||||
. /etc/bash_completion.d/kubectx
|
||||
fi
|
||||
|
||||
if [ -r /etc/bash_completion.d/kubens ]; then
|
||||
. /etc/bash_completion.d/kubens
|
||||
fi
|
||||
fi
|
||||
|
||||
alias k=kubectl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue