From a675e01fabf4f0fec34936119bb16714aad38ae8 Mon Sep 17 00:00:00 2001 From: Andor Kesselman Date: Mon, 13 Nov 2023 06:39:42 -0800 Subject: [PATCH] fix formatting in service.yaml fix formatting in service.yaml. Was getting Release "dwn-server" does not exist. Installing it now. Error: YAML parse error on dwn-server/templates/service.yaml: error converting YAML to JSON: yaml: line 4: did not find expected node content --- charts/templates/service.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/templates/service.yaml b/charts/templates/service.yaml index 49e2f81..8dc6d02 100644 --- a/charts/templates/service.yaml +++ b/charts/templates/service.yaml @@ -1,13 +1,13 @@ apiVersion: v1 kind: Service metadata: - name: { { include "dwn-server.fullname" . } } - labels: { { - include "dwn-server.labels" . | nindent 4 } } + name: {{ include "dwn-server.fullname" . }} + labels: {{ include "dwn-server.labels" . | nindent 4 }} spec: - type: { { .Values.service.type } } + type: {{ .Values.service.type }} ports: - - port: { { .Values.service.port } } - targetPort: { { .Values.service.targetPort } } + - port: {{ .Values.service.port }} + targetPort: {{ .Values.service.targetPort }} protocol: TCP name: http - selector: { { - include "dwn-server.selectorLabels" . | nindent 4 } } + selector: {{ include "dwn-server.selectorLabels" . | nindent 4 }}