Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow for node/$nodename resource form #36

Merged
merged 3 commits into from
Jan 6, 2022
Merged

allow for node/$nodename resource form #36

merged 3 commits into from
Jan 6, 2022

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

kubectl-node_shell Outdated Show resolved Hide resolved
kubectl-node_shell Outdated Show resolved Hide resolved
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants