Skip to content

Added ExtraArgs to kine #5871

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

psaradhi
Copy link

@psaradhi psaradhi commented May 22, 2025

Added ExtraArgs to kine
Modified static clusterconfigs.yaml to update the sample config to include extrArgs for Kine

Description

Fixes #5182

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

  • Manual test
  • Auto test added

Checklist

  • My code follows the style guidelines of this project
  • My commit messages are signed-off
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@psaradhi psaradhi requested review from a team as code owners May 22, 2025 16:32
@psaradhi psaradhi requested review from makhov and jnummelin May 22, 2025 16:32
@juanluisvaladas
Copy link
Contributor

Hi @psaradhi,

First of all, thanks for the pull request.

I haven't had a proper look at the PR yet but the couple checks failing:

1- The DCO check verifies that all your commits are signed off. To sign off the commits the commit must include Signed-off-by: NAME <EMAIL>at the bottom. You can do this with git commit -s, to do it in an existing commit you can use git commit --amend -s

2- The linter fails because you didn't include in the commit the autogenerated code. if you run make the Makefile will generate all these files for you, please make sure to include the pull request.

Also I see you closed the first pull request and opened a second one. You don't need to do this to make modifications, you can modify your local branch and push it to github again. You can also use git push --force if some changes aren't just adding but overwriting previous commits.

Finally, this change would require a documentation update. You can check previous similar PRs as a reference:

@juanluisvaladas
Copy link
Contributor

The DCO error is legit, (you have to squash and sign off your commits). Don't worry about the etcdmember smoketest (it's flaky and unrelated to you) and the Go lint/Validate OS tests is due to a problem github had this morning.

We need to discuss it internally but other than the DCO I think this is OK

Copy link
Member

@twz123 twz123 left a comment

Choose a reason for hiding this comment

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

This probably needs a small change to the docs in configuration.md, too.

@psaradhi psaradhi force-pushed the feature-add-extra-args-to-kine-1 branch from aaa0d34 to da1933e Compare May 27, 2025 14:14
@psaradhi
Copy link
Author

@juanluisvaladas

  1. I squashed all commits into one and pushed the changes
  2. Signed off the commit
  3. Modified configuration.md to include extraArgs for Kine

Please review

Copy link
Member

@twz123 twz123 left a comment

Choose a reason for hiding this comment

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

@psaradhi Thanks. I think we need to revisit the switch statement, though.

modified static clusterconfigs.yaml to update the sample config to include extrArgs for Kine
Modified Kine extraArgs description to pass linter check
Ignoring override values for endpoint, listen-address, metrics-bind-address

Signed-off-by: psaradhi <[email protected]>
@psaradhi psaradhi force-pushed the feature-add-extra-args-to-kine-1 branch from da1933e to 79a2a25 Compare May 28, 2025 10:32
@psaradhi
Copy link
Author

@twz123

You are absolutely right about the switch and issue continue. I removed it.

@twz123 twz123 mentioned this pull request May 28, 2025
16 tasks
@cgroschupp
Copy link

@psaradhi I created a PR, but then closed it in favour of yours. I added the extraArgs parameter to the TestKinePartialConfigLoading test and noticed that the DataSource doesn't take the default value. You can see my fix here: cgroschupp@8c9f80c

Copy link
Member

@twz123 twz123 left a comment

Choose a reason for hiding this comment

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

Thanks @psaradhi! Would you mind raising another PR with your fix, @cgroschupp, or would you be okay with me cherry-picking it myself?

@cgroschupp
Copy link

@twz123 it is better to add some tests to this PR.

Copy link
Contributor

This pull request has merge conflicts that need to be resolved.

@psaradhi
Copy link
Author

@twz123 - apologies for not being active for the last few days. I think @cgroschupp had the tests in the PR.. Should I add the same tests ? or will you cherry pick those tests ? what is expected from me to complete this PR ?

@cgroschupp
Copy link

The PR checklist is clear on this point

I have added tests that prove my fix is effective or that my feature works

@psaradhi please add the tests to prove your feature.

@twz123
Copy link
Member

twz123 commented Jun 11, 2025

@psaradhi Yes, please cherry-pick the tests here. Also, this PR needs a rebase, since it has a merge conflict.

@twz123 twz123 added this to the 1.34 milestone Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow extraArgs to kine
4 participants