Skip to content

Commit

Permalink
build(webserver): change default service port to 8080
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Dec 27, 2024
1 parent 727e35a commit 89b249a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cluster/charts/fuel-streams/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "1.0"
description: A Helm chart for Kubernetes
name: fuel-streams
version: 0.7.3
version: 0.7.4
dependencies:
- name: nats
version: 1.2.8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:

ports:
- name: webserver
containerPort: {{ $service.port }}
containerPort: {{ $webserver.port }}
protocol: TCP

{{- include "set-field-and-value" (dict "context" $webserver "field" "resources" "path" "config.resources") | nindent 10 }}
Expand All @@ -68,7 +68,7 @@ spec:
- name: NETWORK
value: {{ $webserver.network | quote }}
- name: PORT
value: {{ $service.port | quote }}
value: {{ $webserver.port | quote }}
{{- with $webserver.env }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
name: websocket
port: {{ $service.port }}
protocol: TCP
targetPort: {{ $service.port }}
targetPort: webserver
selector:
{{- include "fuel-streams.selectorLabels" (dict "name" "webserver" "context" .) | nindent 4 }}
app.kubernetes.io/component: webserver
Expand Down
3 changes: 2 additions & 1 deletion cluster/charts/fuel-streams/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ consumer:
webserver:
enabled: false
network: mainnet
port: 9003

image:
repository: ghcr.io/fuellabs/sv-webserver
Expand All @@ -236,8 +237,8 @@ webserver:

service:
enabled: true
port: 8080
type: LoadBalancer
port: 9003
dns: "stream-staging.fuel.network"
annotations: {}
labels: {}
Expand Down

0 comments on commit 89b249a

Please sign in to comment.