Skip to content

Commit

Permalink
Fix typo in FastForwards annotation name (derailed#1600)
Browse files Browse the repository at this point in the history
Took me a while to get auto forwards working - read the code and figured out the name in the README.md file was wrong :)
  • Loading branch information
legart authored Jun 28, 2022
1 parent d0927bb commit 17a2fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ Entering the command mode and typing a resource name or alias, could be cumberso
As of v0.25.0, you can leverage the `FastForwards` feature to tell K9s how to default port-forwards. In situations where you are dealing with multiple containers or containers exposing multiple ports, it can be cumbersome to specify the desired port-forward from the dialog as in most cases, you already know which container/port tuple you desire. For these use cases, you can now annotate your manifests with the following annotations:
1. k9scli.io/auto-portforwards -> activates one or more port-forwards directly bypassing the port-forward dialog all together.
1. k9scli.io/auto-port-forwards -> activates one or more port-forwards directly bypassing the port-forward dialog all together.
2. k9scli.io/portforwards -> pre-selects one or more port-forwards when launching the port-forward dialog.
The annotation value takes on the shape `container-name::[local-port:]container-port`
Expand Down

0 comments on commit 17a2fc7

Please sign in to comment.