scwrypts/plugins/kubectl
yage 6fe5b8e26a v4.2.0
=====================================================================

DEPRECATION REMINDER!

The following functions and APIS are no longer available:

- FZF_HEAD : use FZF as a drop-in replacement
- FZF_TAIL : use FZF as a drop-in replacement

- SCWRYPTS__GET_RUNSTRING__zsh_v3 : upgrade to zsh/scwrypts v4
                                    runstrings

--- Bug Fixes ----------------------------

- removed legacy INFO references in plugins/kubectl

- the zsh-builder plugin (CTRL+Y) now show clean helpdocs (no more
  visual terminal artifacts)

--- New Features -------------------------

- differentiate manual / managed versions of scwrypts in versioning;
  this will prevent 'scwrypts --update' from operating against managed
  installations

- created SCWRYPTS__GET_RUNSTRING__zsh__generic to provide an easy way
  to write custom runstrings; this will do all the nice things default
  zsh/scwrypts v4 do (multiflag separation, help flag injection, USAGE
  definitions, and required MAIN() {} wrapper).
2024-04-13 17:34:22 -06:00
..
.config v3.6.0 2023-08-28 20:31:04 -06:00
driver v4.2.0 2024-04-13 17:34:22 -06:00
lib v4.2.0 2024-04-13 17:34:22 -06:00
meta v4.0.0 2024-02-20 23:51:32 -07:00
get-context v4.0.0 2024-02-20 23:51:32 -07:00
get-namespace v4.0.0 2024-02-20 23:51:32 -07: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
serve v4.0.0 2024-02-20 23:51:32 -07:00
set-context v4.0.0 2024-02-20 23:51:32 -07:00
set-namespace v4.0.0 2024-02-20 23:51:32 -07: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.