From 8f4ec5a6a2a2977242bbf1b3224c7e3d3dc22286 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 4 Apr 2026 19:41:53 -0500 Subject: [PATCH] feat: add debug --- clusters/cl01tl/helm/ntfy/values.yaml | 37 +++++++++++++++++---------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/clusters/cl01tl/helm/ntfy/values.yaml b/clusters/cl01tl/helm/ntfy/values.yaml index 45146a865..ff77f0f10 100644 --- a/clusters/cl01tl/helm/ntfy/values.yaml +++ b/clusters/cl01tl/helm/ntfy/values.yaml @@ -2,7 +2,7 @@ ntfy: controllers: main: type: deployment - replicas: 1 + replicas: 0 strategy: Recreate containers: main: @@ -17,17 +17,8 @@ ntfy: value: https://ntfy.alexlebens.net - name: NTFY_LISTEN_HTTP value: :80 - - name: NTFY_CACHE_FILE - value: /var/cache/ntfy/cache.db - name: NTFY_CACHE_DURATION value: 36h - - name: NTFY_CACHE_STARTUP_QUERIES - value: | - pragma journal_mode = WAL; - pragma synchronous = normal; - pragma temp_store = memory; - pragma busy_timeout = 15000; - vacuum; - name: NTFY_BEHIND_PROXY value: true # - name: NTFY_DATABASE_URL @@ -52,8 +43,6 @@ ntfy: value: true - name: NTFY_ENABLE_RESERVATIONS value: false - - name: NTFY_AUTH_FILE - value: /var/cache/ntfy/user.db - name: NTFY_AUTH_DEFAULT_ACCESS value: deny-all - name: NTFY_METRICS_LISTEN_HTTP @@ -62,7 +51,7 @@ ntfy: value: info probes: liveness: - enabled: false + enabled: true custom: true spec: httpGet: @@ -76,6 +65,22 @@ ntfy: requests: cpu: 10m memory: 40Mi + debug: + type: deployment + replicas: 1 + strategy: Recreate + containers: + main: + image: + repository: ubuntu/go + tag: 1.22-24.04_stable + command: + - "sleep" + - "infinity" + resources: + requests: + cpu: 10m + memory: 32Mi service: main: controller: main @@ -126,8 +131,12 @@ ntfy: main: - path: /var/cache/ntfy readOnly: false + debug: + main: + - path: /var/cache/ntfy + readOnly: true postgres-18-cluster: - mode: standalone + mode: recovery recovery: method: objectStore objectStore: -- 2.49.1