kubectl: add aliases for namespaces and configmaps (#7102)

This commit is contained in:
Benjamin Krein 2018-10-02 14:55:45 -04:00 committed by Marc Cornellà
parent 64e262ea48
commit e5915858eb

View file

@ -46,6 +46,18 @@ alias kei='kubectl edit ingress'
alias kdi='kubectl describe ingress' alias kdi='kubectl describe ingress'
alias kdeli='kubectl delete ingress' alias kdeli='kubectl delete ingress'
# Namespace management
alias kgns='kubectl get namespaces'
alias kens='kubectl edit namespace'
alias kdns='kubectl describe namespace'
alias kdelns='kubectl delete namespace'
# ConfigMap management
alias kgcm='kubectl get configmaps'
alias kecm='kubectl edit configmap'
alias kdcm='kubectl describe configmap'
alias kdelcm='kubectl delete configmap'
# Secret management # Secret management
alias kgsec='kubectl get secret' alias kgsec='kubectl get secret'
alias kdsec='kubectl describe secret' alias kdsec='kubectl describe secret'