Skip to content

Commit 0f4f06b

Browse files
+semver:patch change default port for frp server (#21)
* change default port
1 parent 51645e3 commit 0f4f06b

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ spec:
3434
env:
3535
{{- include "codefresh-tunnel-server.redis-url-env" . | nindent 10 }}
3636
- name: BIND_ADDR
37-
value: 0.0.0.0:80
37+
value: 0.0.0.0:8080
3838
{{- with .Values.scaling.router.env -}}
3939
{{ . | toYaml | nindent 10 }}
4040
{{- end }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ metadata:
55
data:
66
frps.ini: |-
77
[common]
8-
bind_port = 80
9-
vhost_http_port = 80
8+
bind_port = 8080
9+
vhost_http_port = 8080
1010
subdomain_host = {{ .Values.tunnels.subdomainHost }}
1111
dashboard_port = 7500
1212
dashboard_user = admin

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ spec:
3838
imagePullPolicy: {{ .Values.server.image.pullPolicy }}
3939
readinessProbe:
4040
tcpSocket:
41-
port: 80
41+
port: 8080
4242
initialDelaySeconds: 5
4343
periodSeconds: 10
4444
livenessProbe:
4545
tcpSocket:
46-
port: 80
46+
port: 8080
4747
initialDelaySeconds: 15
4848
periodSeconds: 20
4949
resources:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ spec:
1212
type: {{ .Values.service.type }}
1313
ports:
1414
- name: server
15-
targetPort: 80
15+
targetPort: 8080
1616
protocol: TCP
17-
port: 80
17+
port: 8080
1818
- name: dashboard
1919
targetPort: 7500
2020
protocol: TCP

codefresh-tunnel-server/templates/tunnels-service.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ spec:
1212
type: {{ .Values.tunnels.service.type }}
1313
ports:
1414
- name: tunnels
15-
targetPort: 80
15+
targetPort: 8080
1616
protocol: TCP
17-
port: 80
17+
port: 8080
1818
selector:
1919
{{- if .Values.scaling.enabled }}
2020
{{- include "codefresh-tunnel-router.selectorLabels" . | nindent 4 }}

codefresh-tunnel-server/tests/tunnels_service_test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ tests:
1414
- contains:
1515
path: spec.ports
1616
content:
17-
port: 80
18-
targetPort: 80
17+
port: 8080
18+
targetPort: 8080
1919
protocol: TCP
2020
name: tunnels
2121
- equal:
@@ -38,8 +38,8 @@ tests:
3838
- contains:
3939
path: spec.ports
4040
content:
41-
port: 80
42-
targetPort: 80
41+
port: 8080
42+
targetPort: 8080
4343
protocol: TCP
4444
name: tunnels
4545
- equal:

codefresh-tunnel-server/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ tunnels:
3737
# Custom private key (base64 encoded)
3838
key: ""
3939

40-
# The serive of the tunnel server
40+
# The service of the tunnel server
4141
service:
4242
type: ClusterIP
4343
annotations:

0 commit comments

Comments
 (0)