Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

local tunnel #19

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions codefresh-tunnel-server/templates/server-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@ data:
dashboard_user = admin
dashboard_pwd = admin
log_level = trace
[plugin.codefresh]
addr = 127.0.0.1:7200
path = /newProxy
ops = NewProxy
20 changes: 0 additions & 20 deletions codefresh-tunnel-server/templates/tunnel-server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,26 +51,6 @@ spec:
volumeMounts:
- mountPath: /etc/frp
name: server-config
- name: codefresh-plugin
image: "{{ .Values.plugin.image.repository }}:{{ .Values.plugin.image.tag}}"
imagePullPolicy: {{ .Values.plugin.image.pullPolicy }}
command: ["frp-codefresh-plugin"]
args:
- --bind-addr=0.0.0.0:7200
- --cf-base-url={{ .Values.codefreshBaseUrl }}
env:
{{- include "codefresh-tunnel-server.redis-url-env" . | nindent 10 }}
- name: MY_POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: SERVER_MODE
value: debug
{{- with .Values.plugin.env -}}
{{ . | toYaml | nindent 10 }}
{{- end }}
resources:
{{- toYaml .Values.plugin.resources | nindent 12 }}
volumes:
- name: server-config
projected:
Expand Down
6 changes: 3 additions & 3 deletions codefresh-tunnel-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ plugin:
resources: {}

tunnels:
subdomainHost: # Will be created in the form *.subdomain
subdomainHost: local-tunnel.pipeline-team.cf-cd.com
service:
type: ClusterIP
annotations:
Expand All @@ -43,7 +43,7 @@ service:
annotations:
# This ingress will be used to register new tunnels
ingress:
enabled: false
enabled: true
host: # Host for tunnel registration
ingressClassName: "nginx"
annotations: {}
Expand Down Expand Up @@ -77,7 +77,7 @@ podAnnotations: {}

# For scaling of the tunnel server set scaling to true. This requires the router component to be created
scaling:
enabled: true
enabled: false
# Redis parameters.
redisURL:
# Set either plain URL or a reference to an existing secret
Expand Down