Skip to content

Commit 5ad07e4

Browse files
+server:patch Fix routing in scaled mode with changed port (#22)
1 parent 0f4f06b commit 5ad07e4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

codefresh-tunnel-server/templates/tunnel-server-deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ spec:
3030
{{- toYaml .Values.podSecurityContext | nindent 8 }}
3131
containers:
3232
- name: tunnel-server
33+
ports:
34+
- name: http
35+
containerPort: 8080
3336
image: "{{ .Values.server.image.repository }}:{{ .Values.server.image.tag }}"
3437
env:
3538
{{- with .Values.env -}}
@@ -64,6 +67,8 @@ spec:
6467
valueFrom:
6568
fieldRef:
6669
fieldPath: status.podIP
70+
- name: FRPS_PORT
71+
value: "8080"
6772
- name: SERVER_MODE
6873
value: debug
6974
{{- with .Values.plugin.env -}}

codefresh-tunnel-server/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ plugin:
1212
image:
1313
repository: gcr.io/codefresh-inc/codefresh-io/frp-codefresh-plugin
1414
pullPolicy: IfNotPresent
15-
tag: "2022.09.20-4ff9c27"
15+
tag: "2023.08.11-6180fdf"
1616
env: []
1717
resources: {}
1818

0 commit comments

Comments
 (0)