-
Notifications
You must be signed in to change notification settings - Fork 269
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
Do not define loadBalancerIP on service unless set in values #429
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provokateurin
approved these changes
Aug 17, 2023
You need to add the Signed-of-by tag to all your commits ( |
Adding to Kate's comment, since you have four commits, you can do: git rebase HEAD~4 --signoff
git push --force |
Oh I didn't know you can signoff using rebase as well, that's pretty neat :) |
* updating nextcloud app version to 27.0.1 Signed-off-by: jessebot <[email protected]> * adding some docs on upgrades and backups Signed-off-by: jessebot <[email protected]> * Update charts/nextcloud/README.md - add backups link Signed-off-by: JesseBot <[email protected]> --------- Signed-off-by: jessebot <[email protected]> Signed-off-by: JesseBot <[email protected]> Signed-off-by: Ben Yanke <[email protected]>
Signed-off-by: jld3103 <[email protected]> Signed-off-by: Ben Yanke <[email protected]>
Signed-off-by: Evan Carroll <[email protected]> Signed-off-by: Ben Yanke <[email protected]>
Signed-off-by: jld3103 <[email protected]> Signed-off-by: Ben Yanke <[email protected]>
replaced by #430 |
@jessebot @provokateurin - had trouble getting signing working properly, simply created a new branch with the changes. Can you review #430? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TLDR: Closed and replaced by #430
Pull Request
Description of the change
This PR sets the
.Values.service.loadBalancerIP
field as optional, and does not define it in the service if it's not set in the values.This is because some
LoadBalancer
implementations allow or even require this value to remain unset, and while it may sometimes be fine to leave it set but blank, this could have unexpected impacts depending on your cluster configuration.In particular,
MetalLB
will leave the service<pending>
if theloadBalancerIP
is set tonil
, and hardcoding it to a value in the values breaks the ability forMetalLB
's IPAM tooling to be used for dynamic address allocation. I suspect other LoadBalancer implementations may have similar behaviors.Benefits
The primary benefit is more flexible usage with more
LoadBalancer
implementations.Possible drawbacks
None I can think of, however I am open to discussion.
Applicable issues
Additional information
For easy review on the output, here is the before and after:
After - No LB set
Note how the
loadBalancerIP
is now gone when it's not defined, for more flexible usage.After - LB Set
Note how the
loadBalancerIP
still works as before when it's defined, for full backward compatibility.After - Forcing Previous Behavior
And if you still wish to template out the field with
nil
in the value as before, that is still supported by explicitly setting tonil
.Before
Note the
nil
in theloadBalancerIP
field.Checklist
Chart.yaml
according to semver.