diff --git a/examples/app/templates/myapp-lb-service.yaml b/examples/app/templates/myapp-lb-service.yaml index c440b1f..3968414 100644 --- a/examples/app/templates/myapp-lb-service.yaml +++ b/examples/app/templates/myapp-lb-service.yaml @@ -13,4 +13,4 @@ spec: ports: {{- .Values.myappLbService.ports | toYaml | nindent 2 }} loadBalancerSourceRanges: - {{ - .Values.myappLbService.loadBalancerSourceRanges | toYaml | nindent 2 }} \ No newline at end of file + {{- .Values.myappLbService.loadBalancerSourceRanges | toYaml | nindent 2 }} \ No newline at end of file diff --git a/pkg/processor/service/service.go b/pkg/processor/service/service.go index 2379d16..89ad640 100644 --- a/pkg/processor/service/service.go +++ b/pkg/processor/service/service.go @@ -33,7 +33,7 @@ spec: const ( lbSourceRangesTempSpec = ` loadBalancerSourceRanges: - {{ - .Values.%[1]s.loadBalancerSourceRanges | toYaml | nindent 2 }}` + {{- .Values.%[1]s.loadBalancerSourceRanges | toYaml | nindent 2 }}` ) var svcGVC = schema.GroupVersionKind{