Skip to content

Commit

Permalink
feat(freshrss): add configuration to enable cron (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thumbscrew authored Feb 5, 2023
1 parent e2341da commit 0e9277e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/freshrss/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions charts/freshrss/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |-
Expand Down
3 changes: 3 additions & 0 deletions charts/freshrss/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e9277e

Please sign in to comment.