1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-01-06 21:07:49 +08:00

Update kubectl.plugin.zsh

add alias to apply a kustomization directory
This commit is contained in:
NanoNova 2025-03-24 16:38:43 +08:00 committed by GitHub
parent 899af6328b
commit 9b4b77f63b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,6 +21,9 @@ alias kca='_kca(){ kubectl "$@" --all-namespaces; unset -f _kca; }; _kca'
# Apply a YML file
alias kaf='kubectl apply -f'
# Apply a kustomization directory
alias kak='kubectl apply -k'
# Drop into an interactive terminal on a container
alias keti='kubectl exec -t -i'