-
-
Notifications
You must be signed in to change notification settings - Fork 25.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add aliases for kustomization application #8738
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, this should be OK to merge.
Thanks @bartekpacia is there anything I need to do before merging? GH says I need write permission. |
Honestly, I'm not sure so I'll ask @larson-carter about this |
Please add the aliases to the plugin README before a merge can happen. |
@mhaligowski I know it's been a while but any chance you fix the README so this PR can be merged. Thank you |
@@ -19,6 +19,9 @@ alias kca='_kca(){ kubectl "$@" --all-namespaces; unset -f _kca; }; _kca' | |||
# Apply a YML file | |||
alias kaf='kubectl apply -f' | |||
|
|||
# Apply a kustomization | |||
alias kak='kubectl apply -k' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kak
is the command for kakoune
editor, we'd need another name.
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#apply
Standards checklist:
Changes: