-
Notifications
You must be signed in to change notification settings - Fork 487
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
[FEAT #6416] nodePort value can be set now #6417
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there @ryayon! Apologies for the delayed reply here!
I think this does make sense as a PR. I'm still on the fence on if we should provide a random-ish default like you did here, or default to an empty value that preserves the previous behavior (but also allow setting it).
In the meantime, could you please fix the linting error about the README file, and also possibly add a test?
No worries. |
cc @ryayon sorry for the hassle here; I've fixed a merge conflict (so you might have to pull first), but can you run cc @captncraig in case he has any strong opinions here, but I think that it'd be best if we let the default value empty and just set it if the user provided a non-default value instead. |
No need to feel sorry @tpaschalis . |
@@ -254,6 +254,8 @@ service: | |||
enabled: true | |||
# -- Service type | |||
type: ClusterIP | |||
# -- NodePort port | |||
nodePort: 31128 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps the comment could indicate this only takes effect when type is NodePort
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely.
I just fixed it.
The ci wants you to run |
Done |
PR Description
Allow to set a port when the service is
NodePort
typeWhich issue(s) this PR fixes
Fixes #6416
Notes to the Reviewer
PR Checklist