Helm chart: fix rolebindings when watching multiple namespaces#444
Merged
HoustonPutman merged 2 commits intoapache:mainfrom Jun 7, 2022
Merged
Conversation
HoustonPutman
approved these changes
May 25, 2022
Contributor
HoustonPutman
left a comment
There was a problem hiding this comment.
Great catch and fix, thanks so much for taking the time!
Would you mind adding a changelog entry real quick in the solr-operator helm chart yaml? You can add it to the end of the list, and just link the PR since this doesn't have an issue.
Signed-off-by: Andrew Plummer <plummer574@gmail.com>
Contributor
Author
|
@HoustonPutman Happy to help! I think I have now put the right thing into |
This file contains hidden or 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
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.
Found that I was getting errors like:
I have deployed with the following values:
When I did a helm diff to switch off leader elections, I saw something like the following in the diff:
Which looks right, except for the missing
---, which is what this PR adds.My workaround is to run with:
(1 is the default number of replicas anyway, but I imagine strange things happen with multiple replicas and no leader election, so important it is set to 1)