All checks were successful
Build k8s-mgmt-pod image / Build & Push (push) Successful in 2m21s
19 lines
No EOL
457 B
Bash
19 lines
No EOL
457 B
Bash
#!/bin/sh
|
|
|
|
# Enable kubectl and helm completion for interactive bash sessions.
|
|
if [ -n "${BASH_VERSION:-}" ]; then
|
|
if [ -r /usr/share/bash-completion/bash_completion ]; then
|
|
. /usr/share/bash-completion/bash_completion
|
|
fi
|
|
|
|
if [ -r /etc/bash_completion.d/kubectl ]; then
|
|
. /etc/bash_completion.d/kubectl
|
|
fi
|
|
|
|
if [ -r /etc/bash_completion.d/helm ]; then
|
|
. /etc/bash_completion.d/helm
|
|
fi
|
|
fi
|
|
|
|
alias k=kubectl
|
|
complete -F __start_kubectl k |