-
Notifications
You must be signed in to change notification settings - Fork 146
Labels
bugIssues that are confirmed to be bugsIssues that are confirmed to be bugs
Description
Describe the bug
d6bad0d introduced an extra whitespace removal dash that mangles front/service-external if .Values.front.externalService.type is not ClusterIP.
To Reproduce
Steps to reproduce the behavior (include specific Helm or Kubernetes commands if applicable):
- Set
.Values.front.externalService.typetoLoadBalancer - Run helm template
- Observe output
Error: YAML parse error on mailu/templates/front/service-external.yaml: error converting YAML to JSON: yaml: line 22: mapping values are not allowed in this context
Templated output looks like:
spec:
selector:
...
type: LoadBalancerexternalTrafficPolicy: Local
ports:Notice that type and externalTrafficPolicy are on the same line
Expected behavior
The values should be on separate lines.
Environment (please complete the following information):
- Helm Chart Version: 2.5.1
cirilloblu, prutseltje, 5n00p4eg and nadiamoe
Metadata
Metadata
Assignees
Labels
bugIssues that are confirmed to be bugsIssues that are confirmed to be bugs