diff --git a/codefresh-tunnel-server/templates/server-config.yaml b/codefresh-tunnel-server/templates/server-config.yaml index a0991d1..504035b 100644 --- a/codefresh-tunnel-server/templates/server-config.yaml +++ b/codefresh-tunnel-server/templates/server-config.yaml @@ -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 \ No newline at end of file diff --git a/codefresh-tunnel-server/templates/tunnel-server-deployment.yaml b/codefresh-tunnel-server/templates/tunnel-server-deployment.yaml index 88b8ae6..d1fc15d 100644 --- a/codefresh-tunnel-server/templates/tunnel-server-deployment.yaml +++ b/codefresh-tunnel-server/templates/tunnel-server-deployment.yaml @@ -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: diff --git a/codefresh-tunnel-server/values.yaml b/codefresh-tunnel-server/values.yaml index 2b5beb9..f05fa1b 100644 --- a/codefresh-tunnel-server/values.yaml +++ b/codefresh-tunnel-server/values.yaml @@ -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: @@ -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: {} @@ -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