From 1b331cf38645ff5a6f9af5a1c1f8b2e6b03eb984 Mon Sep 17 00:00:00 2001 From: Raffaele Scarano <52074617+not-Karot@users.noreply.github.com> Date: Tue, 19 Sep 2023 19:31:58 +0200 Subject: [PATCH] Update svc.yaml service type is now configurable buy injecting values. also modified target port to working one --- charts/geoserver/v0.3.3/templates/svc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/geoserver/v0.3.3/templates/svc.yaml b/charts/geoserver/v0.3.3/templates/svc.yaml index 18363eb..c237d68 100644 --- a/charts/geoserver/v0.3.3/templates/svc.yaml +++ b/charts/geoserver/v0.3.3/templates/svc.yaml @@ -16,7 +16,7 @@ metadata: {{- tpl . $ | nindent 4 }} {{- end }} spec: - type: ClusterIP + type: {{ .Values.service.type }} {{- if .Values.service.externalIPs }} externalIPs: {{ .Values.service.externalIPs }} {{- end }} @@ -24,7 +24,7 @@ spec: - name: http-geoserver port: 80 protocol: TCP - targetPort: http-geoserver + targetPort: 8080 selector: app: {{ template "geoserver.fullname" . }} release: {{ .Release.Name | quote }}