From cf5027bafc4bbbfa740a50fa50129539d22e271b Mon Sep 17 00:00:00 2001 From: V-Paranoiaque Date: Sat, 27 Sep 2025 15:15:42 +0200 Subject: [PATCH] Fix CLEANUP_RETENTION_DAYS --- helm/gitea-mirror/README.md | 2 +- helm/gitea-mirror/templates/configmap.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/gitea-mirror/README.md b/helm/gitea-mirror/README.md index f612a20..f4d663c 100644 --- a/helm/gitea-mirror/README.md +++ b/helm/gitea-mirror/README.md @@ -206,7 +206,7 @@ These values populate a **ConfigMap** (non-secret) and a **Secret** (for tokens | `gitea-mirror.automation.schedule_enabled` | `true` | `SCHEDULE_ENABLED` | | `gitea-mirror.automation.schedule_interval` | `3600` | `SCHEDULE_INTERVAL` (seconds) | | `gitea-mirror.cleanup.enabled` | `true` | `CLEANUP_ENABLED` | -| `gitea-mirror.cleanup.retentionDays` | `30` | `CLEANUP_INTERVAL` | +| `gitea-mirror.cleanup.retentionDays` | `30` | `CLEANUP_RETENTION_DAYS` | > **Secrets:** If you set `gitea-mirror.existingSecret` (name of an existing Secret), the chart will **not** create its own Secret and will reference yours instead. Otherwise it creates a Secret with `GITHUB_TOKEN`, `GITEA_TOKEN`, `ENCRYPTION_SECRET`. diff --git a/helm/gitea-mirror/templates/configmap.yaml b/helm/gitea-mirror/templates/configmap.yaml index 9a9991f..c9acfe7 100644 --- a/helm/gitea-mirror/templates/configmap.yaml +++ b/helm/gitea-mirror/templates/configmap.yaml @@ -35,4 +35,4 @@ data: SCHEDULE_INTERVAL: {{ $gm.automation.schedule_interval | quote }} # Cleanup CLEANUP_ENABLED: {{ $gm.cleanup.enabled | quote }} - CLEANUP_INTERVAL: {{ $gm.cleanup.interval | quote }} + CLEANUP_RETENTION_DAYS: {{ $gm.cleanup.retentionDays | quote }}