Helm chart using malformed DOT_REMOTE_CALL_SUBNET_BLACKLIST default
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 970
- Forks
- 486
- Avg merge
- 3d 33m
- Merged PRs (30d)
- 170
Description
Problem Statement
the default value for remoteCallSubnetBlacklist: 169.254.169.254/32,127.0.0.1/32,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 in the helm default values.yaml does not contain quotes around the string. This is causing it to be parsed as a list and when inserting it into the DOTREMOTECALLSUBNETBLACKLIST in the stateful set it is removing the commas and concatenating causing an invalid configuration. The fix is to put double quotes around the string to force it as a string value.
25-06-04T17:14:00.644706862Z 17:14:00.644 WARN network.IPUtils - Could not parse [169.254.169.254/32127.0.0.1/3210.0.0.0/8172.16.0.0/12192.168.0.0/16]
Steps to Reproduce
A sandbox using the current version of helm will produce the following when trying to connect externally including sending an analytics event.
25-06-04T17:14:00.644706862Z 17:14:00.644 WARN network.IPUtils - Could not parse [169.254.169.254/32127.0.0.1/3210.0.0.0/8172.16.0.0/12192.168.0.0/16]
Acceptance Criteria
Ensure that the enironment is properly parsed with commas and error does not appear in the log
dotCMS Version
NA
Proposed Objective
Cloud Engineering
Proposed Priority
Please Select
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
No response
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the Helm chart's default values.yaml and the StatefulSet template that populates DOT_REMOTE_CALL_SUBNET_BLACKLIST. Render or install the chart in a sandbox, verify that commas are preserved in the environment value, and confirm the malformed-address warning no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100