make k and h simpler

This commit is contained in:
hophacker 2019-08-01 22:09:34 +08:00
parent d3647ac14c
commit 1ebe560afb
2 changed files with 3 additions and 3 deletions

View File

@ -253,7 +253,6 @@ alias docker_clean_images='docker rmi $(docker images -a --filter=dangling=true
alias find_large_files="sudo find / -xdev -type f -size +50M"
alias vim_plain="vim -u NONE"
alias edit_alias="vim $yadr_zsh/aliases.zsh $yadr_zsh/functions.zsh -p"
alias k="kubectl --kubeconfig=$HOME/Projects/paiyou-hub/kube/config"
alias rubocop='rubocop --require rubocop-performance --format progress'
alias docker_purge='docker stop $(docker ps -qa);docker rm $(docker ps -qa)'
alias init_server_db='ds rails db:create db:migrate db:seed'

View File

@ -227,9 +227,10 @@ function gitcopy() {
ruby ~/Projects/paiyou-hub/bin/trello_action.rb -n $trelloCardName -d "$commits" -l `git config user.name`
fi
}
alias k="kubectl"
function h() {
helm $* --tls --tls-ca-cert ~/Projects/paiyou-hub/kube/helm/ca.cert.pem --tls-cert ~/Projects/paiyou-hub/kube/helm/helm.cert.pem --tls-key ~/Projects/paiyou-hub/kube/helm/helm.key.pem
helm $*
#helm $* --tls
}
function kexec {
RAN=false