diff --git a/charts/vp-web/0.1.0/questions.yaml b/charts/vp-web/0.1.0/questions.yaml index 561b057..4f4bc86 100644 --- a/charts/vp-web/0.1.0/questions.yaml +++ b/charts/vp-web/0.1.0/questions.yaml @@ -24,4 +24,4 @@ questions: default: "ClusterIP" enum: - value: "ClusterIP" - description: "NodePort Mode" + description: "ClusterIP Mode" diff --git a/charts/vp-web/0.1.0/templates/service.yaml b/charts/vp-web/0.1.0/templates/service.yaml index ad292e6..a39eb78 100644 --- a/charts/vp-web/0.1.0/templates/service.yaml +++ b/charts/vp-web/0.1.0/templates/service.yaml @@ -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 }}