Skip to content

Commit 4628682

Browse files
authored
chore: update cloudflared (#1823)
* chore: update cloudflared * Update helmrelease.yaml.j2
1 parent 87a5c3f commit 4628682

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

templates/config/kubernetes/apps/network/external/cloudflared/configs/config.yaml.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ originRequest:
44

55
ingress:
66
- 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
88
- hostname: "*.${SECRET_DOMAIN}"
9-
service: https://external-ingress-nginx-controller.network.svc.cluster.local:443
9+
service: *svc
1010
- service: http_status:404

templates/config/kubernetes/apps/network/external/cloudflared/helmrelease.yaml.j2

+5-8
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,15 @@ spec:
2929
tag: 2025.2.1
3030
env:
3131
NO_AUTOUPDATE: true
32-
TUNNEL_CRED_FILE: /etc/cloudflared/creds/credentials.json
32+
TUNNEL_CRED_FILE: /etc/cloudflared/credentials.json
3333
TUNNEL_METRICS: 0.0.0.0:8080
3434
TUNNEL_ORIGIN_ENABLE_HTTP2: true
35-
TUNNEL_TRANSPORT_PROTOCOL: quic
3635
TUNNEL_POST_QUANTUM: true
37-
TUNNEL_ID: "#{ cloudflare_tunnel('TunnelID') }#"
36+
TUNNEL_TRANSPORT_PROTOCOL: quic
3837
args:
3938
- tunnel
40-
- --config
41-
- /etc/cloudflared/config/config.yaml
4239
- run
43-
- "$(TUNNEL_ID)"
40+
- #{ cloudflare_tunnel('TunnelID') }#
4441
probes:
4542
liveness: &probes
4643
enabled: true
@@ -89,13 +86,13 @@ spec:
8986
type: configMap
9087
name: cloudflared-configmap
9188
globalMounts:
92-
- path: /etc/cloudflared/config/config.yaml
89+
- path: /etc/cloudflared/config.yaml
9390
subPath: config.yaml
9491
readOnly: true
9592
creds:
9693
type: secret
9794
name: cloudflared-secret
9895
globalMounts:
99-
- path: /etc/cloudflared/creds/credentials.json
96+
- path: /etc/cloudflared/credentials.json
10097
subPath: credentials.json
10198
readOnly: true

0 commit comments

Comments
 (0)