Repository navigation
Fix policies additionalJvmOptions glued onto pekkoOptions, Helm chart 4.10.1 - #2672
Merged
thjaeckle merged 1 commit intoNov 26, 2026
Merged
Conversation
…4.10.1
The policies deployment trimmed the whitespace before global.pekkoOptions
("{{- ... }}"), so a set policies.additionalJvmOptions was glued to the
first pekko option in JAVA_TOOL_OPTIONS (e.g.
"-XX:+UseStringDeduplication-Dpekko.management...") and the policies
service could not start. The other services already render it correctly.
Bumps the chart to 4.10.1. Its CHANGELOG also records that the
-XX:-UseBASE64Intrinsics JVM option (CVE-2026-114938 mitigation, only
added to global.jvmOptions on release-3.9) is removed again in 4.10.1,
as the Ditto 3.9.10 images are based on the fixed JDK 25.0.5.1.
Assisted-by: Anthropic Claude Opus 5.5 (claude-opus-5-5)
Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
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.
Helm chart
4.10.1, to be released fromrelease-3.9(Ditto3.9.10stays theappVersion).Fix: policies
additionalJvmOptionsglued onto the next JVM optionpolicies-deployment.yamlrenderedglobal.pekkoOptionswith{{- ... }}, which trims the line break before it. A setpolicies.additionalJvmOptionstherefore ended up glued to the first pekko option inJAVA_TOOL_OPTIONS:The JVM cannot parse that option, so the policies service did not start when
policies.additionalJvmOptionswas set (the default is empty, so default installations are not affected). The things, gateway, connectivity and things-search deployments already used{{ ... }}; the policies one now does too. The bug exists since the option was added, also onrelease-3.8.Removal of
-XX:-UseBASE64Intrinsics(release-3.9 only)Chart
4.9.0added-XX:-UseBASE64Intrinsicsto the defaultglobal.jvmOptionsonrelease-3.9/release-3.8as mitigation of the JDK vulnerability CVE-2026-114938 ("Java4Shell"), because the Ditto3.9.9images were based on the vulnerable JDK25.0.5+8. The Ditto3.9.10images are based on the fixed JDK25.0.5.1+2, so the option, which only slows down Base64 encoding and decoding, is no longer needed.master never had the option in its
values.yaml, so this PR only records the removal in the[4.10.1]CHANGELOG section. After merging, the commit is cherry-picked torelease-3.9together with the removal of the option from itsvalues.yaml, and chart4.10.1is released from there.Installations running older Ditto images (
3.9.9or earlier) with chart4.10.1should keep adding the option toglobal.jvmOptions, as noted in the CHANGELOG.