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

This commit is contained in:
Michael Trip 2026-06-29 13:40:34 +02:00
parent d582311917
commit df0eaf0a21
4 changed files with 23 additions and 3 deletions

View file

@ -15,7 +15,7 @@
║ - lfk : LFK kubernetes management ║
║ - k9s : interactive cluster navigation ║
║ - helm : chart install, upgrade, and rollback ║
║ - plus : kubectx, kubens, jq, yq, and more
║ - plus : kubectx, kubens, jq, yq, vim, and more ║
║ ║
╠════════════════════════════════════════════════════════════════╣
║ Quick start ║

View file

@ -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