All notable changes to this project will be documented in this file. This project uses Semantic Versioning.
- The code around finding
kubectl
was changed in order to better support the use of thegke-gcloud-auth-plugin
utility.
0.3.0 - 2023-07-22
- #4: Added support for configuration files in the user's home and config directories.
- #5: Source files from the path hierarchy and special directories are now merged.
- #7:
Multiple config files can now be specified by repeating the
--file
argument. - #8:
Added the
--verbose
command-line option for more detailed information on configuration sources. - #9: Added filter command-line arguments that allows to specify a prefix for the loaded targets. Only targets matching the prefix will be forwarded.
- The path to the provided or detected source file(s) is now kept relative to the current working directory only if it is close. If the file is too many layers of nesting away, the canonical path is shown instead of a relative one.
0.2.0 - 2023-07-17
- 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.
- 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.
0.1.0 - 2023-07-16
- 🎉 Initial release with support for hierarchical
.k8sfwd
detection.