Chart v2.20.0 introduces ability to specify nodeSelector and tolerations per component.
The if/else path used when using globally defined tolerations, misses an nindent causing invalid YAML to be rendered.
(Now one could work around this by specifying at the component level. But that's introducing more complexity in values to work around a bug. We are skipping this chart version and hoping for a quick patch release.)
See: v2.19.0...v2.20.0
Expected Behavior
Same values as used for v2.19.0 rendering same tolerations as v2.20.0 without error.
Actual Behavior
Error: YAML parse error on entertainment-keda/charts/keda/templates/manager/deployment.yaml: error converting YAML to JSON: yaml: line 133: mapping values are not allowed in this context
Use --debug flag to render out invalid YAML
Steps to Reproduce the Problem
Rendering chart with these values:
tolerations:
- key: example
effect: NoSchedule
Specifications
Chart v2.20.0 introduces ability to specify nodeSelector and tolerations per component.
The if/else path used when using globally defined tolerations, misses an
nindentcausing invalid YAML to be rendered.(Now one could work around this by specifying at the component level. But that's introducing more complexity in values to work around a bug. We are skipping this chart version and hoping for a quick patch release.)
See: v2.19.0...v2.20.0
Expected Behavior
Same values as used for v2.19.0 rendering same tolerations as v2.20.0 without error.
Actual Behavior
Steps to Reproduce the Problem
Rendering chart with these values:
Specifications