From 74b6eb43a1bb71f2405c5175f55c2dc61aec1437 Mon Sep 17 00:00:00 2001 From: Thumbscrew Date: Sun, 5 Feb 2023 15:08:34 +0000 Subject: [PATCH] add configuration to enable cron --- charts/freshrss/Chart.yaml | 2 +- charts/freshrss/templates/deployment.yaml | 4 ++++ charts/freshrss/values.yaml | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/charts/freshrss/Chart.yaml b/charts/freshrss/Chart.yaml index e3cd0f8..ab099cd 100644 --- a/charts/freshrss/Chart.yaml +++ b/charts/freshrss/Chart.yaml @@ -23,7 +23,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.2.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/freshrss/templates/deployment.yaml b/charts/freshrss/templates/deployment.yaml index c2b901b..065dc47 100644 --- a/charts/freshrss/templates/deployment.yaml +++ b/charts/freshrss/templates/deployment.yaml @@ -42,6 +42,10 @@ spec: value: {{ .Values.freshrss.timezone }} - name: FRESHRSS_ENV value: {{ .Values.freshrss.freshEnv }} + {{- if .Values.freshrss.cron.enabled }} + - name: CRON_MIN + value: {{ .Values.freshrss.cron.cronMin }} + {{- end }} {{- if .Values.freshrss.autoInstall.enabled }} - name: FRESHRSS_INSTALL value: |- diff --git a/charts/freshrss/values.yaml b/charts/freshrss/values.yaml index c2828ea..da8caad 100644 --- a/charts/freshrss/values.yaml +++ b/charts/freshrss/values.yaml @@ -59,6 +59,9 @@ freshrss: user: admin password: admin email: admin@example.com + cron: + enabled: true + cronMin: "13,43" # Minute(s) past the hour to run cron persistence: enabled: false