convert cloudflared to personal chart

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

View File

@@ -19,8 +19,8 @@ dependencies:
alias: cops
repository: https://bjw-s.github.io/helm-charts/
version: 3.2.1
- name: app-template
- name: cloudflared
alias: cloudflared
repository: https://bjw-s.github.io/helm-charts/
version: 3.2.1
repository: http://alexlebens.github.io/helm-charts
version: 1.0.0
appVersion: 1.1.3

View File

@@ -51,31 +51,4 @@ cops:
- path: /books
readOnly: true
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: cops-cloudflared-secret
key: cf-tunnel-token
resources:
requests:
cpu: 100m
memory: 128Mi
existingSecretName: cops-cloudflared-secret