From a1742061272ee91a4a7c860d2ae9828c747baa16 Mon Sep 17 00:00:00 2001 From: greendor1234 Date: Mon, 18 Nov 2024 16:38:13 +0000 Subject: [PATCH] fixed typo --- examples/app/templates/myapp-lb-service.yaml | 2 +- pkg/processor/service/service.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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{