diff --git a/osm-seed/templates/web/web-deployment.yaml b/osm-seed/templates/web/web-deployment.yaml index 7f07f511..a0dec729 100644 --- a/osm-seed/templates/web/web-deployment.yaml +++ b/osm-seed/templates/web/web-deployment.yaml @@ -29,6 +29,9 @@ spec: - name: http containerPort: 80 protocol: TCP + - name: cgimap + containerPort: 81 + protocol: TCP livenessProbe: httpGet: path: /api/0.6/capabilities diff --git a/osm-seed/templates/web/web-service.yaml b/osm-seed/templates/web/web-service.yaml index 341eae06..d3c3ce61 100644 --- a/osm-seed/templates/web/web-service.yaml +++ b/osm-seed/templates/web/web-service.yaml @@ -1,4 +1,3 @@ -{{- if .Values.web.enabled -}} apiVersion: v1 kind: Service metadata: @@ -26,7 +25,6 @@ metadata: {{- with .Values.web.serviceAnnotations }} {{- toYaml . | nindent 4 }} {{- end }} - spec: type: {{ .Values.serviceType }} ports: @@ -34,6 +32,10 @@ spec: 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 @@ -44,4 +46,4 @@ spec: app: {{ template "osm-seed.name" . }} release: {{ .Release.Name }} run: {{ .Release.Name }}-web -{{- end }} \ No newline at end of file +{{- end }}