File tree 2 files changed +7
-10
lines changed
templates/config/kubernetes/apps/network/external/cloudflared
2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ originRequest:
4
4
5
5
ingress:
6
6
- hostname: "${SECRET_DOMAIN}"
7
- service: https://external-ingress-nginx-controller.network.svc.cluster.local:443
7
+ service: &svc https://external-ingress-nginx-controller.network.svc.cluster.local:443
8
8
- hostname: "*.${SECRET_DOMAIN}"
9
- service: https://external-ingress-nginx-controller.network. svc.cluster.local:443
9
+ service: * svc
10
10
- service: http_status:404
Original file line number Diff line number Diff line change @@ -29,18 +29,15 @@ spec:
29
29
tag: 2025.2.1
30
30
env:
31
31
NO_AUTOUPDATE: true
32
- TUNNEL_CRED_FILE: /etc/cloudflared/creds/ credentials.json
32
+ TUNNEL_CRED_FILE: /etc/cloudflared/credentials.json
33
33
TUNNEL_METRICS: 0.0.0.0:8080
34
34
TUNNEL_ORIGIN_ENABLE_HTTP2: true
35
- TUNNEL_TRANSPORT_PROTOCOL: quic
36
35
TUNNEL_POST_QUANTUM: true
37
- TUNNEL_ID: "#{ cloudflare_tunnel('TunnelID') }#"
36
+ TUNNEL_TRANSPORT_PROTOCOL: quic
38
37
args:
39
38
- tunnel
40
- - --config
41
- - /etc/cloudflared/config/config.yaml
42
39
- run
43
- - "$(TUNNEL_ID)"
40
+ - #{ cloudflare_tunnel('TunnelID') }#
44
41
probes:
45
42
liveness: &probes
46
43
enabled: true
@@ -89,13 +86,13 @@ spec:
89
86
type: configMap
90
87
name: cloudflared-configmap
91
88
globalMounts:
92
- - path: /etc/cloudflared/config/config .yaml
89
+ - path: /etc/cloudflared/config.yaml
93
90
subPath: config.yaml
94
91
readOnly: true
95
92
creds:
96
93
type: secret
97
94
name: cloudflared-secret
98
95
globalMounts:
99
- - path: /etc/cloudflared/creds/ credentials.json
96
+ - path: /etc/cloudflared/credentials.json
100
97
subPath: credentials.json
101
98
readOnly: true
You can’t perform that action at this time.
0 commit comments