fix: prevent invalid YAML when zeebe exporter enabled without camunda…#4962
Open
dddpaul wants to merge 4 commits intocamunda:mainfrom
Open
fix: prevent invalid YAML when zeebe exporter enabled without camunda…#4962dddpaul wants to merge 4 commits intocamunda:mainfrom
dddpaul wants to merge 4 commits intocamunda:mainfrom
Conversation
… exporter
The else block outputting {} was incorrectly triggered when the camunda
exporter was disabled, even if the zeebe/elasticsearch exporter had
already been rendered. This caused invalid YAML with {} appended after
the elasticsearch exporter config.
Closes camunda#4961
hamza-m-masood
approved these changes
Jan 19, 2026
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.
Closes #4961
Summary
orchestration.exporters.zeebe.enabled: trueandorchestration.exporters.camunda.enabled: falseelseblock outputting{}was incorrectly triggered even when the elasticsearch exporter had already been rendered{}when zeebe exporter is also disabledRoot Cause
In
_application-unified.yaml, theelse {}block at line 359 was paired with the camunda exporterifcondition, not coordinated with the elasticsearch/opensearch exporter blocks. This caused{}to be appended after the elasticsearch config, producing invalid YAML:Fix
Test plan
Verification command:
Expected output (no {} after numberOfReplicas):