scwrypts/plugins/kubectl
yage 2034325ac9 v3.6.1
=====================================================================

--- Changes ------------------------------

- Adjusted USAGE (from zsh/lib/utils/io.zsh) to allow dynamic variable
  insertion in help dialogues by setting USAGE__<help-group> and using
  the syntax listed

- Various quality-of-life changes and and fixes to experimental kubectl
  plugin

--- Bug fixes ----------------------------

- sourcing 'scwrypts.plugin.zsh' no longer sets __SCWRYPT=1 in your
  current environment
2023-08-30 17:26:13 -06:00
..
.config v3.6.0 2023-08-28 20:31:04 -06:00
driver v3.6.1 2023-08-30 17:26:13 -06:00
lib v3.6.1 2023-08-30 17:26:13 -06:00
meta v3.6.0 2023-08-28 20:31:04 -06:00
get-context v3.6.0 2023-08-28 20:31:04 -06:00
get-namespace v3.6.0 2023-08-28 20:31:04 -06:00
kubectl.scwrypts.zsh v3.6.1 2023-08-30 17:26:13 -06:00
README.md v3.6.0 2023-08-28 20:31:04 -06:00
set-context v3.6.1 2023-08-30 17:26:13 -06:00
set-namespace v3.6.1 2023-08-30 17:26:13 -06:00

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.