You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
dotfiles/.aliases.d/dev_ops.sh

27 lines
460 B

#alias k="kubectl"
kn() {
if [ "$1" != "" ]; then
kubectl config set-context --current --namespace=$1
else
echo -e "\e[1;31m Error, please provide a valid Namespace\e[0m"
fi
}
knd() {
kubectl config set-context --current --namespace=default
}
ku() {
kubectl config unset current-context
}
alias h="helm"
alias tf="terraform"
alias a="ansible"
alias ap="ansible-playbook"
alias dt="datree"
b64() {
echo -n "$@" | base64
}