Skip to content

Missing nindent in manager/deployment tolerations v2.20.0 #868

Description

@TBeijen

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 Version: v2.20.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions