diff --git a/examples/app/templates/myapp-service.yaml b/examples/app/templates/myapp-service.yaml index 4be0946..4642995 100644 --- a/examples/app/templates/myapp-service.yaml +++ b/examples/app/templates/myapp-service.yaml @@ -9,6 +9,6 @@ spec: type: {{ .Values.myappService.type }} selector: app: myapp - {{- include "app.selectorLabels" . | nindent 4 }} + {{- include "app.selectorLabels" . | nindent 4 }} ports: - {{- .Values.myappService.ports | toYaml | nindent 2 }} \ No newline at end of file + {{- .Values.myappService.ports | toYaml | nindent 2 }} \ No newline at end of file diff --git a/examples/app/templates/nginx.yaml b/examples/app/templates/nginx.yaml index c10df4c..63f84b9 100644 --- a/examples/app/templates/nginx.yaml +++ b/examples/app/templates/nginx.yaml @@ -9,6 +9,6 @@ spec: type: {{ .Values.nginx.type }} selector: app: nginx - {{- include "app.selectorLabels" . | nindent 4 }} + {{- include "app.selectorLabels" . | nindent 4 }} ports: - {{- .Values.nginx.ports | toYaml | nindent 2 }} \ No newline at end of file + {{- .Values.nginx.ports | toYaml | nindent 2 }} \ No newline at end of file diff --git a/examples/operator/templates/metrics-service.yaml b/examples/operator/templates/metrics-service.yaml index 222169c..c3738d1 100644 --- a/examples/operator/templates/metrics-service.yaml +++ b/examples/operator/templates/metrics-service.yaml @@ -9,6 +9,6 @@ spec: type: {{ .Values.metricsService.type }} selector: control-plane: controller-manager - {{- include "operator.selectorLabels" . | nindent 4 }} + {{- include "operator.selectorLabels" . | nindent 4 }} ports: - {{- .Values.metricsService.ports | toYaml | nindent 2 }} \ No newline at end of file + {{- .Values.metricsService.ports | toYaml | nindent 2 }} \ No newline at end of file diff --git a/examples/operator/templates/webhook-service.yaml b/examples/operator/templates/webhook-service.yaml index 58ff10f..57c9005 100644 --- a/examples/operator/templates/webhook-service.yaml +++ b/examples/operator/templates/webhook-service.yaml @@ -8,6 +8,6 @@ spec: type: {{ .Values.webhookService.type }} selector: control-plane: controller-manager - {{- include "operator.selectorLabels" . | nindent 4 }} + {{- include "operator.selectorLabels" . | nindent 4 }} ports: - {{- .Values.webhookService.ports | toYaml | nindent 2 }} \ No newline at end of file + {{- .Values.webhookService.ports | toYaml | nindent 2 }} \ No newline at end of file diff --git a/pkg/processor/service/service.go b/pkg/processor/service/service.go index 233adb6..a23b5dc 100644 --- a/pkg/processor/service/service.go +++ b/pkg/processor/service/service.go @@ -25,9 +25,9 @@ spec: type: {{ .Values.%[1]s.type }} selector: %[2]s - {{- include "%[3]s.selectorLabels" . | nindent 4 }} + {{- include "%[3]s.selectorLabels" . | nindent 4 }} ports: - {{- .Values.%[1]s.ports | toYaml | nindent 2 }}` + {{- .Values.%[1]s.ports | toYaml | nindent 2 }}` ) var svcGVC = schema.GroupVersionKind{