From e7756f95a757db2de292cb843ed978274942cef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20M=C3=BCller?= Date: Fri, 8 Dec 2023 16:46:31 +0100 Subject: [PATCH 1/3] feat(echo-server): update app-template to v2.3.0 --- .../kube-nas/apps/default/echo-server/app/helm-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/kube-nas/apps/default/echo-server/app/helm-release.yaml b/kubernetes/kube-nas/apps/default/echo-server/app/helm-release.yaml index c5082aa46..ee4bfbaaa 100644 --- a/kubernetes/kube-nas/apps/default/echo-server/app/helm-release.yaml +++ b/kubernetes/kube-nas/apps/default/echo-server/app/helm-release.yaml @@ -9,7 +9,7 @@ spec: chart: spec: chart: app-template - version: 2.0.3 + version: 2.3.0 sourceRef: kind: HelmRepository name: bjw-s-charts From 473c1d63fa753afb687660670b5d2ac2f5b4b6c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20M=C3=BCller?= Date: Fri, 8 Dec 2023 16:47:00 +0100 Subject: [PATCH 2/3] feat(cloudflared): update to app-template v2.3.0 --- .../cloudflared/app/helm-release.yaml | 84 ++++++++++--------- 1 file changed, 46 insertions(+), 38 deletions(-) diff --git a/kubernetes/talos-flux/apps/networking/cloudflared/app/helm-release.yaml b/kubernetes/talos-flux/apps/networking/cloudflared/app/helm-release.yaml index db7042550..1697a7850 100644 --- a/kubernetes/talos-flux/apps/networking/cloudflared/app/helm-release.yaml +++ b/kubernetes/talos-flux/apps/networking/cloudflared/app/helm-release.yaml @@ -9,7 +9,7 @@ spec: chart: spec: chart: app-template - version: 1.5.1 + version: 2.3.0 sourceRef: kind: HelmRepository name: bjw-s-charts @@ -27,51 +27,59 @@ spec: uninstall: keepHistory: false values: - global: - nameOverride: *app - image: - repository: cloudflare/cloudflared - tag: 2023.10.0-amd64 - args: - - tunnel - - --config - - /etc/cloudflared/config.yaml - - --metrics - - 0.0.0.0:9090 - - run + controllers: + main: + annotations: + reloader.stakater.com/auto: "true" + containers: + main: + nameOverride: *app + image: + repository: cloudflare/cloudflared + tag: 2023.10.0-amd64 + args: + - tunnel + - --config + - /etc/cloudflared/config.yaml + - --metrics + - 0.0.0.0:9090 + - run + ports: + - name: metrics + containerPort: 9090 + protocol: TCP + resources: + requests: + memory: 64Mi + cpu: 10m + limits: + memory: 128Mi + service: main: nameOverride: metrics ports: http: port: 9090 + persistence: config: enabled: true - type: custom - volumeSpec: - configMap: - name: &config cloudflare-tunnel - subPath: - - path: config.yaml - mountPath: /etc/cloudflared/config.yaml - readOnly: true + type: congigMap + name: cloudflare-tunnel + advancedMounts: + main: + main: + - path: /etc/cloudflared/config.yaml + subPath: config.yaml + readOnly: true credentials: enabled: true - type: custom - volumeSpec: - secret: - secretName: &secret cloudflare-tunnel - subPath: - - path: cred.json - mountPath: /etc/cloudflared/cred.json - readOnly: true - resources: - requests: - memory: 64Mi - cpu: 10m - limits: - memory: 128Mi - podAnnotations: - secret.reloader.stakater.com/reload: *secret - configmap.reloader.stakater.com/reload: *config + type: secret + name: cloudflare-tunnel + advancedMounts: + main: + main: + - path: /etc/cloudflared/cred.json + subPath: cred.json + readOnly: true From f452b84616a9c9d7b62af4a351d6a68a7950b55e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20M=C3=BCller?= Date: Fri, 8 Dec 2023 16:49:43 +0100 Subject: [PATCH 3/3] fix(cloudflared): typo in configMap type name --- .../apps/networking/cloudflared/app/helm-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/talos-flux/apps/networking/cloudflared/app/helm-release.yaml b/kubernetes/talos-flux/apps/networking/cloudflared/app/helm-release.yaml index 1697a7850..4ecae701c 100644 --- a/kubernetes/talos-flux/apps/networking/cloudflared/app/helm-release.yaml +++ b/kubernetes/talos-flux/apps/networking/cloudflared/app/helm-release.yaml @@ -65,7 +65,7 @@ spec: persistence: config: enabled: true - type: congigMap + type: configMap name: cloudflare-tunnel advancedMounts: main: