Repository navigation
Workaround kustomize bug in pulsar cluster init - #166
Merged
michaeljmarshall merged 2 commits intoJan 4, 2022
Merged
Conversation
Replace folding block with multiline string to workaround kubernetes-sigs/kustomize#4201 There are also other places where this bug is hit, but extra generated newline is not significant.
Contributor
Author
|
Is anyone willing to review this? |
lhotari
approved these changes
Jan 4, 2022
michaeljmarshall
approved these changes
Jan 4, 2022
michaeljmarshall
left a comment
Member
There was a problem hiding this comment.
LGTM. Thanks for your thorough explanation @matejhasul!
pgier
pushed a commit
to pgier/pulsar-helm-chart
that referenced
this pull request
Apr 22, 2022
lhotari
added a commit
to lhotari/pulsar-helm-chart
that referenced
this pull request
Feb 19, 2025
- reapply apache#166 changes that were reverted by apache#544 changes
lhotari
added a commit
that referenced
this pull request
Feb 19, 2025
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.
Motivation
Due to bug in kustomize kubernetes-sigs/kustomize#4201 we cannot deploy pulsar helm chart via fluxcd which uses kustomize as post-renderer (as desribed in fluxcd/flux2#1968). Pulsar cluster initialization fails, because jobs responsible for initialization is missing some arguments due extra newline:
There are also other places where this bug is hit, but extra generated newline is not significant and does no break anything.
Modifications
Replace folding block with multiline string to workaround kubernetes-sigs/kustomize#4201
Verifying this change