Skip to content

Commit

Permalink
Change port for osmcha web
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Nov 1, 2023
1 parent 994af82 commit 18e8348
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions osm-seed/templates/osmcha-web/osmcha-web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ spec:
image: "{{ .Values.osmchaWeb.image.name }}:{{ .Values.osmchaWeb.image.tag }}"
ports:
- name: http
containerPort: 8000
containerPort: 5000
protocol: TCP
livenessProbe:
httpGet:
path: /
port: 8000
port: 5000
initialDelaySeconds: 600 # 10 min, because the compile process takes time.
timeoutSeconds: 30
{{- if .Values.osmchaWeb.resources.enabled }}
Expand Down
4 changes: 2 additions & 2 deletions osm-seed/templates/osmcha-web/osmcha-web-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ spec:
type: {{ .Values.serviceType }}
ports:
- port: 80
targetPort: 8000
targetPort: 5000
protocol: TCP
name: http
{{- if and (eq .Values.serviceType "LoadBalancer") .Values.AWS_SSL_ARN }}
- port: 443
targetPort: 8000
targetPort: 5000
protocol: TCP
name: https
{{- end }}
Expand Down

0 comments on commit 18e8348

Please sign in to comment.