Skip to content

allow for node/$nodename resource form#36

Merged
kvaps merged 3 commits intokvaps:masterfrom
madeddie:patch-1
Jan 6, 2022
Merged

allow for node/$nodename resource form#36
kvaps merged 3 commits intokvaps:masterfrom
madeddie:patch-1

Conversation

@madeddie
Copy link
Contributor

I sometimes use this plugin with a for node in $(kubectl get names -o node); do kubectl node-shell "$node" -- something loop. The kubectl get names -o node outputs a list of nodenames prefixed with the node/ type.
This change will, always, simply filter out node/ at the beginning of the node name.

I sometimes use this plugin with a `for node in $(kubectl get names -o node); do kubectl node-shell "$node" -- something` loop. The kubectl get names -o node outputs a list of nodenames prefixed with the `node/` type. This change will, always, simply filter out `node/` at the beginning of the node name.
Copy link
Owner

@kvaps kvaps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That definitely makes sense.
Please also update the plugin version on line 5

madeddie and others added 2 commits January 3, 2022 13:37
Co-authored-by: Andrei Kvapil <kvapss@gmail.com>
@kvaps kvaps merged commit c1b05c6 into kvaps:master Jan 6, 2022
@madeddie madeddie deleted the patch-1 branch March 16, 2022 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants