convert cloudflared to personal chart

This commit is contained in:
2024-05-28 14:17:28 -05:00
parent 72dcc10bd0
commit 95d5c82d3d
2 changed files with 4 additions and 31 deletions

View File

@@ -21,31 +21,4 @@ element-web:
cpu: 100m
memory: 128Mi
cloudflared:
global:
nameOverride: cloudflared
controllers:
main:
type: deployment
strategy: Recreate
containers:
main:
image:
repository: cloudflare/cloudflared
tag: "2024.5.0"
pullPolicy: IfNotPresent
args:
- tunnel
- --no-autoupdate
- run
- --token
- $(CF_MANAGED_TUNNEL_TOKEN)
env:
- name: CF_MANAGED_TUNNEL_TOKEN
valueFrom:
secretKeyRef:
name: element-web-cloudflared-secret
key: cf-tunnel-token
resources:
requests:
cpu: 100m
memory: 128Mi
existingSecretName: element-web-cloudflared-secret