Skip to content

Commit 206068c

Browse files
Introduce ip's allow list
2 parents 39cfdce + 5729292 commit 206068c

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ reference_manifests
22
**/__snapshot__
33

44
.idea
5+
.DS_Store
56

67
**/values-*.yaml
78

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ data:
2222
local_port = {{ required "tunnel.forwardTo.port is required" .Values.tunnel.forwardTo.port }}
2323
locations = {{ default "/" .Values.tunnel.forwardTo.location }}
2424
subdomain = {{ .Values.tunnel.subdomainPrefix }}
25-
meta_Authorization = {{"{{"}} .Envs.AUTHORIZATION {{"}}"}}
25+
meta_Authorization = {{"{{"}} .Envs.AUTHORIZATION {{"}}"}}
26+
ips_allow_list = {{ default "" .Values.tunnel.ipsAllowList }}

codefresh-tunnel-client/templates/deployment.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ spec:
3232
- name: tunnel-client
3333
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
3434
env:
35-
env:
3635
- name: AUTHORIZATION
3736
valueFrom:
3837
secretKeyRef:

codefresh-tunnel-client/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
image:
33
repository: quay.io/codefresh/frpc
44
pullPolicy: IfNotPresent
5-
tag: "2022.09.08-2384484"
5+
tag: "2022.10.09-b0811fd"
66

77
# set log level for tunnel client
88
logLevel: 'info'
@@ -24,6 +24,9 @@ tunnel:
2424
# Subdomain is defined on the sever. The client sets it's prefix. For example, if the subdomain host on server
2525
# is tunnels.example setting this value to would make the tunnel acces
2626
subdomainPrefix:
27+
28+
# lists the rules to configure which IP addresses and subnet masks can access your client
29+
ipsAllowList: ""
2730

2831
# Where the tunnel forwards to
2932
forwardTo:

codefresh-tunnel-server/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ server:
55
image:
66
repository: quay.io/codefresh/frps
77
pullPolicy: IfNotPresent
8-
tag: "2022.09.08-2384484"
8+
tag: "2022.10.09-b0811fd"
99
resources: {}
1010

1111
plugin:

0 commit comments

Comments
 (0)