From 1db2d2efd1519d9e6282c936107fb0e51bb4ba59 Mon Sep 17 00:00:00 2001 From: Thatcher Peskens Date: Mon, 19 Aug 2024 16:22:41 +0200 Subject: [PATCH 1/2] added option to configure SERVICE_TYPE --- charts/mapserver/templates/deployment.yaml | 2 ++ charts/mapserver/values.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/charts/mapserver/templates/deployment.yaml b/charts/mapserver/templates/deployment.yaml index c160aaf..b156429 100644 --- a/charts/mapserver/templates/deployment.yaml +++ b/charts/mapserver/templates/deployment.yaml @@ -36,6 +36,8 @@ spec: env: - name: MS_MAPFILE value: {{ .Values.settings.mapFile }} + - name: SERVICE_TYPE + value: {{ .Values.settings.serviceType }} ports: - name: http containerPort: 80 diff --git a/charts/mapserver/values.yaml b/charts/mapserver/values.yaml index 0a3bdc3..74da500 100644 --- a/charts/mapserver/values.yaml +++ b/charts/mapserver/values.yaml @@ -7,6 +7,7 @@ image: settings: mapFile: /storage/main.map + serviceType: WMS imagePullSecrets: [] nameOverride: "" From b770ec3fb97c81d7b4f58257fd8de71202de6ad0 Mon Sep 17 00:00:00 2001 From: Thatcher Peskens Date: Mon, 19 Aug 2024 16:27:24 +0200 Subject: [PATCH 2/2] bumped version --- charts/mapserver/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/mapserver/Chart.yaml b/charts/mapserver/Chart.yaml index 503b0b5..5fb9bdd 100644 --- a/charts/mapserver/Chart.yaml +++ b/charts/mapserver/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v2 name: mapserver description: A chart that deploys Mapserver type: application -version: 4.0.0 +version: 4.1.0