mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 08:50:08 +00:00
kubectl: add aliases for namespaces and configmaps (#7102)
This commit is contained in:
parent
64e262ea48
commit
e5915858eb
1 changed files with 12 additions and 0 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue