diff --git a/clusters/cl01tl/applications/ghost/Chart.yaml b/clusters/cl01tl/applications/ghost/Chart.yaml index 95ecc4719..da48b7b1b 100644 --- a/clusters/cl01tl/applications/ghost/Chart.yaml +++ b/clusters/cl01tl/applications/ghost/Chart.yaml @@ -10,12 +10,12 @@ dependencies: - name: ghost repository: oci://registry-1.docker.io/bitnamicharts version: 20.0.15 + - name: cloudflared + alias: cloudflared + repository: http://alexlebens.github.io/helm-charts + version: 1.0.0 - name: mysql-cluster alias: mysql-8-cluster version: 0.2.1 repository: http://alexlebens.github.io/helm-charts - - name: app-template - alias: cloudflared - repository: https://bjw-s.github.io/helm-charts/ - version: 3.2.1 appVersion: 5.82.11 diff --git a/clusters/cl01tl/applications/ghost/values.yaml b/clusters/cl01tl/applications/ghost/values.yaml index f0792b64c..b894936aa 100644 --- a/clusters/cl01tl/applications/ghost/values.yaml +++ b/clusters/cl01tl/applications/ghost/values.yaml @@ -28,6 +28,8 @@ ghost: user: ghost database: ghost existingSecret: ghost-mysql-credentials-secret +cloudflared: + existingSecretName: ghost-cloudflared-secret mysql-8-cluster: mode: standalone cluster: @@ -85,32 +87,3 @@ mysql-8-cluster: deleteBackupData: false backupProfileName: snapshot-profile enabled: 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: ghost-cloudflared-secret - key: cf-tunnel-token - resources: - requests: - cpu: 100m - memory: 128Mi