aws-eks: HelmChart values discards null values #30000
Labels
@aws-cdk/aws-eks
Related to Amazon Elastic Kubernetes Service
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
Given a Helmchart config where values if configured like this:
the generated cloudformation template seems to completely discard any elements with a
None
/null value. These are important as they allow disabling default-enabled items in some helm charts.Expected Behavior
All items including those with a null value should be carried over into the resulting helm chart values
Values json in cloudformation template should read:
Current Behavior
elements with null values are discarded, snippet from
cdk synth
, generated from example code:Reproduction Steps
See bug description
Possible Solution
No response
Additional Information/Context
Since HelmChart is a custom resource, it's not possible for users to use the normal "escape hatch" methods to get around the bug - those methods aren't available on the object it seems.
CDK CLI Version
2.127.0
Framework Version
2.139.0
Node.js Version
v20.12.2
OS
Ubuntu 23.1
Language
Python
Language Version
Python 3.11
Other information
No response
The text was updated successfully, but these errors were encountered: