Fixed yaml syntax error

This commit is contained in:
Hendrik Leidinger 2022-01-12 21:55:37 +01:00
parent 6043696e24
commit 20c05929dd
2 changed files with 4 additions and 19 deletions

View file

@ -24,4 +24,4 @@ questions:
default: "ClusterIP"
enum:
- value: "ClusterIP"
description: "NodePort Mode"
description: "ClusterIP Mode"

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
@ -5,27 +6,11 @@ metadata:
labels:
{{- include "vp-web.labels" . | nindent 4 }}
spec:
selector:
{{- include "vp-web.selectorLabels" . | nindent 4 }}
selector:
{{- include "vp-web.selectorLabels" . | nindent 4 }}
ports:
- protocol: TCP
port: 80
targetPort: 80
nodePort: {{ .Values.service.port }}
type: {{ .Values.service.type }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "vp-web.fullname" . }}
labels:
{{- include "vp-web.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "vp-web.selectorLabels" . | nindent 4 }}