Skip to content

Commit 4fdd4dc

Browse files
feat: add gost-agent
1 parent 135adcf commit 4fdd4dc

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed

charts/gost-agent/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
name: ngrok-agent
2+
name: gost-agent
33
description: A Helm chart for Kubernetes
44
type: application
55
version: 0.1.0
@@ -9,4 +9,4 @@ maintainers:
99
dependencies:
1010
- name: cf-common
1111
repository: oci://quay.io/codefresh/charts
12-
version: 0.24.1
12+
version: 0.24.0

charts/gost-agent/values.yaml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,27 @@ container:
2121
- "-L"
2222
- 'rtcp://:0//internal-gateway:80'
2323
- "-F"
24-
- "tunnel+wss://${GOST_SERVER_HOSTNAME}:443?tunnel.id=${GOST_PLATFORM_TUNNEL_ID}&keepalive=true&ttl=15s"
24+
- "tunnel+wss://$(GOST_SERVER_HOSTNAME):443?tunnel.id=$(GOST_PLATFORM_TUNNEL_ID)&keepalive=true&ttl=15s"
2525
env:
26-
GOST_SERVER_HOSTNAME: f598c8b79c17fe29.gost.shared-services.cf-infra.com
27-
GOST_PLATFORM_TUNNEL_ID: c5db1800-ce4c-11de-8413-6a7c5a153390
26+
GOST_SERVER_HOSTNAME: ""
27+
GOST_PLATFORM_TUNNEL_ID: ""
28+
GOST_PLATFORM_TUNNEL_HOSTNAME: ""
29+
probes:
30+
liveness:
31+
enabled: true
32+
type: exec
33+
exec:
34+
command:
35+
- wget
36+
- --server-response
37+
- --spider
38+
- https://$(GOST_PLATFORM_TUNNEL_HOSTNAME)
39+
spec:
40+
initialDelaySeconds: 30
41+
periodSeconds: 15
42+
timeoutSeconds: 15
43+
successThreshold: 1
44+
failureThreshold: 2
2845

2946
nodeSelector: {}
3047
tolerations: []

0 commit comments

Comments
 (0)