scwrypts/plugins/kubectl
yage f3e70c61cb v3.9.0
=====================================================================

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

- scwrypts runner has new arguments
  -q/--quiet   allows quiet-mode operation while still logging to logfiles
  -v/--verbose forces verbose mode
    --version  longform required (-v is now for "verbose" mode)

- scwrypts runner now auto-detects certain CLI usage, running in quiet,
  logged mode if pattern match successfully identifies a single scwrypt
  (or when using --name); use --verbose to override this behavior

- 'k exec' no longer requires double '--' if a '--' comes after
  - old : k exec -it my-pod-0 -- -- /bin/sh
  + new : k exec -it my-pod-0 -- /bin/sh
  + still works : k -- exec -it my-pod-0 -- /bin/sh

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

- fixed various plugins/kubectl auto-completion settings; arguments
  after '--' or profile number (e.g. 'k 1 get deployments') will now
  appropriately autocomplete in the indicated profile

- helm template functions now work on related .tpl files as well
  (renders from chart root)

- fixed some goofy UTF-8 icons in zsh/lib/utils/io

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

- (experimental) scwrypts zsh plugin for interactive command selection
  (like CTRL+SPACE), but allows you to build command arguments,
  providing help dialogue for the selected command

--- New Scripts --------------------------

- zsh/misc/tally ) helps keep tally-counts of things; helpful when
                   running long scripts "what iteration am I on"
2023-12-11 18:19:37 -07:00
..
.config v3.6.0 2023-08-28 20:31:04 -06:00
driver v3.9.0 2023-12-11 18:19:37 -07:00
lib v3.8.0 2023-11-22 15:54:16 -07: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
serve v3.8.0 2023-11-22 15:54:16 -07:00
set-context v3.8.0 2023-11-22 15:54:16 -07:00
set-namespace v3.8.0 2023-11-22 15:54:16 -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.