diff --git a/helm/chart/vt/templates/service.yaml b/helm/chart/vt/templates/service.yaml index 214ab06..3680ee1 100644 --- a/helm/chart/vt/templates/service.yaml +++ b/helm/chart/vt/templates/service.yaml @@ -1,13 +1,13 @@ apiVersion: v1 kind: Service metadata: - name: { { include "vt.fullname" . } } - labels: { { - include "vt.labels" . | nindent 4 } } + name: {{ include "vt.fullname" . }} + labels: {{- include "vt.labels" . | nindent 4 }} spec: - type: { { .Values.service.type } } + type: {{ .Values.service.type }} ports: - - port: { { .Values.service.port } } + - port: {{ .Values.service.port }} targetPort: http protocol: TCP name: http - selector: { { - include "vt.selectorLabels" . | nindent 4 } } + selector: {{- include "vt.selectorLabels" . | nindent 4 }}