Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
e5915858
Commit
e5915858
authored
Oct 02, 2018
by
Benjamin Krein
Committed by
Marc Cornellà
Oct 02, 2018
Browse files
kubectl: add aliases for namespaces and configmaps (#7102)
parent
64e262ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/kubectl/kubectl.plugin.zsh
View file @
e5915858
...
...
@@ -46,6 +46,18 @@ alias kei='kubectl edit ingress'
alias
kdi
=
'kubectl describe 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
alias
kgsec
=
'kubectl get secret'
alias
kdsec
=
'kubectl describe secret'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment