Skip to content

Commit

Permalink
Merge pull request #80 from dhrp/master
Browse files Browse the repository at this point in the history
added option to configure SERVICE_TYPE
  • Loading branch information
bartjkdp authored Oct 7, 2024
2 parents b661300 + b770ec3 commit 312458d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/mapserver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: mapserver
description: A chart that deploys Mapserver
type: application
version: 4.0.0
version: 4.1.0
2 changes: 2 additions & 0 deletions charts/mapserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions charts/mapserver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ image:

settings:
mapFile: /storage/main.map
serviceType: WMS

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit 312458d

Please sign in to comment.