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

Support pod-selector for drain command #788

Merged
merged 1 commit into from
Aug 2, 2023
Merged

Conversation

docbobo
Copy link
Contributor

@docbobo docbobo commented Jun 27, 2023

This PR is related to issue #737. While it does not add support for custom drain commands, it adds support for configuring the pod-selector to be used for draining, which should be sufficient to address all the Longhorn related issues.

cmd/kured/main.go Outdated Show resolved Hide resolved
@jackfrancis
Copy link
Collaborator

@docbobo Also make sure to sign your commit (see https://github.com/kubereboot/kured/pull/788/checks?check_run_id=14582462611 for more info)

@docbobo
Copy link
Contributor Author

docbobo commented Jun 29, 2023

Okay, tried to address both issues. Please have another look at the description and let me know if you want additional changes.

@jackfrancis
Copy link
Collaborator

code lgtm, looks like it's still complaining about an unsigned commit

@docbobo
Copy link
Contributor Author

docbobo commented Jun 29, 2023

Yes, I noticed. But there is only one commit in this PR and that's verified. Maybe the result of the required rebasing? Do I need to recreate the PR?

@docbobo
Copy link
Contributor Author

docbobo commented Jun 29, 2023

Nevermind. The commit was signed but missing the Signed-off-by. Now it should be correct.

Copy link
Collaborator

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

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

lgtm

@docbobo could you submit a helm chart change to expose this new feature?

https://github.com/kubereboot/charts

We'll merge that once this new feature is part of a released version of kured.

@ckotzbauer ckotzbauer merged commit d019e7a into kubereboot:main Aug 2, 2023
@ckotzbauer ckotzbauer added this to the 1.14.0 milestone Aug 4, 2023
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.

3 participants