Skip to content

Commit

Permalink
fix formatting in service.yaml
Browse files Browse the repository at this point in the history
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
  • Loading branch information
andorsk authored and finn-block committed Nov 13, 2023
1 parent 44f2c93 commit a675e01
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions charts/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit a675e01

Please sign in to comment.