scwrypts/plugins/kubectl
yage 3fe01a7263 v4.4.0
=====================================================================

Increased non-scwrypts-runtime compatibility and improved clarity
in user environments after sourcing the scwrypts.plugin.zsh.

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

- added experimental support for --output json
- added 'scwrypts --list-groups' to output the SCWRYPTS_GROUPS value
- added 'scwrypts --config' to be `eval`-ed in non-scwrypts-runtime zsh

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

- removed config variables which pertained to old scwrypts

- removed deprecated --no-log

- cleaned up environment requirements and improved import saftey for
  scwrypts.plugin.zsh; scwrypts is now *required* on $PATH in order to work

- refactored group configuration to match external group configuration
  (configuration now in scwrypts.scwrypts.zsh rather than zsh/lib/config.group.zsh)

- plugins/kubectl now forces an unalias of `f` (for fluxcd) on load

- the 'use' command now supports the '-c' short flag for ease of quick
  use

- upgraded max supported python version to 3.12; dropped support for
  python 3.9 (>3.10 required)

- remove old references to SCWRYPTS_ROOT in favour of SCWRYPTS_ROOT__scwrypts

- SCWRYPTS_LOG_LEVEL setting is now forwarded when using the SCWRYPTS__RUN
  meta execution function
2024-05-08 23:11:09 -06:00
..
.config v3.6.0 2023-08-28 20:31:04 -06:00
driver v4.4.0 2024-05-08 23:11:09 -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.