From 72dcc10bd000ec362dbc2187f74c87e2489cf197 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Tue, 28 May 2024 14:17:24 -0500 Subject: [PATCH] convert cloudflared to personal chart --- clusters/cl01tl/applications/cops/Chart.yaml | 6 ++-- clusters/cl01tl/applications/cops/values.yaml | 29 +------------------ 2 files changed, 4 insertions(+), 31 deletions(-) diff --git a/clusters/cl01tl/applications/cops/Chart.yaml b/clusters/cl01tl/applications/cops/Chart.yaml index 6d28b7969..ee09d7607 100644 --- a/clusters/cl01tl/applications/cops/Chart.yaml +++ b/clusters/cl01tl/applications/cops/Chart.yaml @@ -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 diff --git a/clusters/cl01tl/applications/cops/values.yaml b/clusters/cl01tl/applications/cops/values.yaml index 5543fda77..540cb0693 100644 --- a/clusters/cl01tl/applications/cops/values.yaml +++ b/clusters/cl01tl/applications/cops/values.yaml @@ -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