From 0e9277e4cb1f20ef1a8d77e711bbb2d560d650d1 Mon Sep 17 00:00:00 2001 From: Thumbscrew Date: Sun, 5 Feb 2023 15:10:49 +0000 Subject: [PATCH] feat(freshrss): add configuration to enable cron (#6) --- 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..34e2a6e 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: false + cronMin: "13,43" # Minute(s) past the hour to run cron persistence: enabled: false