Skip to content

Commit

Permalink
Open port 81 for cgimap
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Sep 12, 2023
1 parent 4437d4d commit 9ed0dc9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions osm-seed/templates/web/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ spec:
- name: http
containerPort: 80
protocol: TCP
- name: cgimap
containerPort: 81
protocol: TCP
livenessProbe:
httpGet:
path: /api/0.6/capabilities
Expand Down
8 changes: 5 additions & 3 deletions osm-seed/templates/web/web-service.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Values.web.enabled -}}
apiVersion: v1
kind: Service
metadata:
Expand Down Expand Up @@ -26,14 +25,17 @@ metadata:
{{- with .Values.web.serviceAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}

spec:
type: {{ .Values.serviceType }}
ports:
- port: 80
targetPort: http
protocol: TCP
name: http
- port: 81
targetPort: 81
protocol: TCP
name: cgimap
{{- if and (eq .Values.serviceType "LoadBalancer") .Values.AWS_SSL_ARN }}
- port: 443
targetPort: http
Expand All @@ -44,4 +46,4 @@ spec:
app: {{ template "osm-seed.name" . }}
release: {{ .Release.Name }}
run: {{ .Release.Name }}-web
{{- end }}
{{- end }}

0 comments on commit 9ed0dc9

Please sign in to comment.