-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
Bug Description
Failing to render helm template when objectSelector.matchExpressions is not empty:
Helm upgrade failed for release kube-system/aws-load-balancer-controller
with chart aws-load-balancer-controller@1.16.0: YAML parse error on aws-load-balancer-controller/templates/webhook.yaml:
error converting YAML to JSON: yaml: line 74: did not find expected key'
Steps to Reproduce
- Step-by-step guide to reproduce the bug:
-
Update
values.yamlwith following:+clusterName: test objectSelector: matchExpressions: + - key: key + operator: In + values: + - value
-
Run
helm template .
-
Expected Behavior
Template rendered successfully
Actual Behavior
Template rendering fails
Regression
Was the functionality working correctly in a previous version ? Yes
If yes, specify the last version where it worked as expected - < v1.15.0
Current Workarounds
Environment
N/A
Possible Solution (Optional)
Contribution Intention (Optional)
- Yes, I'm willing to submit a PR to fix this issue
- No, I cannot work on a PR at this time
Additional Context
Metadata
Metadata
Assignees
Labels
No labels