yage
72e831da33
===================================================================== --- Changes ------------------------------ - kubectl driver updates; getting better, but still need to fix autocomplete in certain circumstances - added -y|--yes flags to scwrypts to auto-accept user-prompts (use with caution) - figured out the whole mikefarah/yq vs kislyuk/yq thing; use YQ for compatiblity --- Bug fixes ---------------------------- - helm template generation now loads values in a more appropriate order which prevents overwrite by the wrong values file |
||
---|---|---|
.. | ||
.config | ||
driver | ||
lib | ||
meta | ||
get-context | ||
get-namespace | ||
kubectl.scwrypts.zsh | ||
README.md | ||
serve | ||
set-context | ||
set-namespace |
Kubernetes kubectl
Helper Plugin
Leverages a local redis
application to quickly and easily set an alias k
for kubectl --context <some-context> --namespace <some-namespace>
.
Much like scwrypts environments, k
aliases are only shared amongst session with the same SCWRYPTS_ENV
to prevent accidental cross-contamination.
Getting Started
Enable the plugin in ~/.config/scwrypts/config.zsh
by adding SCWRYPTS_PLUGIN_ENABLED__KUBECTL=1
.
Use k
as your new kubectl
and checkout k --help
and k meta --help
.