From 96cc6a80389f29897e1e0b0bda4321c355b50168 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 26 Apr 2026 13:57:24 -0500 Subject: [PATCH] feat: add age to backup --- charts/rclone-bucket/Chart.yaml | 2 +- charts/rclone-bucket/README.md | 2 +- charts/rclone-bucket/templates/common.yaml | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/rclone-bucket/Chart.yaml b/charts/rclone-bucket/Chart.yaml index 7896823..6f3e19d 100644 --- a/charts/rclone-bucket/Chart.yaml +++ b/charts/rclone-bucket/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: rclone-bucket -version: 0.2.0 +version: 0.3.0 description: Rclone CronJob to replicate buckets keywords: - rclone-bucket diff --git a/charts/rclone-bucket/README.md b/charts/rclone-bucket/README.md index 3786d13..44c9b9b 100644 --- a/charts/rclone-bucket/README.md +++ b/charts/rclone-bucket/README.md @@ -1,6 +1,6 @@ # rclone-bucket -![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![AppVersion: v1.73.5](https://img.shields.io/badge/AppVersion-v1.73.5-informational?style=flat-square) +![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![AppVersion: v1.73.5](https://img.shields.io/badge/AppVersion-v1.73.5-informational?style=flat-square) Rclone CronJob to replicate buckets diff --git a/charts/rclone-bucket/templates/common.yaml b/charts/rclone-bucket/templates/common.yaml index 5ac3ab9..30fb13d 100644 --- a/charts/rclone-bucket/templates/common.yaml +++ b/charts/rclone-bucket/templates/common.yaml @@ -22,6 +22,10 @@ controllers: - src:{{ .Values.rclone.source.bucketName }} - dest:{{ .Values.rclone.destination.bucketName }} - --s3-no-check-bucket + {{- if .Values.prune.enabled }} + - --min-age + - {{ .Values.prune.ageToPrune }} + {{- end }} - --verbose env: - name: RCLONE_S3_PROVIDER