Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mhaligowski
Copy link

@mhaligowski mhaligowski commented Mar 11, 2020

https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#apply

Standards checklist:

  • The PR title is descriptive.
  • The PR doesn't replicate another PR which is already open.
  • I have read the contribution guide and followed all the instructions.
  • The code follows the code style guide detailed in the wiki.
  • The code is mine or it's from somewhere with an MIT-compatible license.
  • The code is efficient, to the best of my ability, and does not waste computer resources.
  • The code is stable and I have tested it myself, to the best of my abilities.

Changes:

  • Adds aliases for applying kustomization directories

@ohmyzsh ohmyzsh bot added Area: plugin Issue or PR related to a plugin Topic: alias Pull Request or issue regarding aliases labels Mar 11, 2020
Copy link
Contributor

@bartekpacia bartekpacia left a 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.

@mhaligowski
Copy link
Author

Thanks @bartekpacia is there anything I need to do before merging? GH says I need write permission.

@bartekpacia
Copy link
Contributor

Honestly, I'm not sure so I'll ask @larson-carter about this

@mcornella
Copy link
Member

Please add the aliases to the plugin README before a merge can happen.

@sylwit
Copy link

sylwit commented Jul 10, 2023

@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'
Copy link
Member

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.

@carlosala carlosala self-assigned this Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: plugin Issue or PR related to a plugin Topic: alias Pull Request or issue regarding aliases
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

None yet

6 participants