Skip to content

0.2.0

Compare
Choose a tag to compare
@sunsided sunsided released this 17 Jul 20:35
· 68 commits to main since this release
8a4798b

To install k8sfwd/0.2.0, run

cargo install k8sfwd --version 0.2.0

0.2.0

TL;DR: This release adds --tags support and handles kubectl context and cluster selection a bit smarter.

Added

  • If only the context or the cluster is specified, the other part will be automatically looked up from the current configuration. If a single match is found, its value will be explicitly specified to kubectl. This should help when changing contexts while having a port-forwarding session open as intermittent errors will consistently produce the same forwarding rule regardless of the currently active context.
  • Added support for tags via the --tags <tag1> <tag2> ... command-line option. Only targets matching any one of the specified tags will be forwarded.

Fixed

  • Only default to current cluster when neither context nor cluster is specified. Previously, specifying only one of the values would result in the other value being automatically filled from the currently active context, resulting in possibly invalid combinations.