Skip to content
Snippets Groups Projects
Commit 5b006309 authored by Arie Peterson's avatar Arie Peterson
Browse files

Remove our cronjob setting

parent bfd0406a
No related branches found
No related tags found
1 merge request!592Resolve "Change cron type"
Pipeline #47016 passed with stages
in 11 minutes and 4 seconds
......@@ -31,9 +31,6 @@ data:
# system.bulkupload.enabled is set to false to disable bulkupload. Bulkupload
# has led to failures while using the desktop client for some of our
# customers.
# apps.core.backgroundjobs_mode set to cron disables the unreliable ajax
# scheduling that is enabled by default. Ajax scheduling is not needed
# because cronjobs are regularly executed by a kubernetes resource.
config.json: |
{
"system":{
......
......@@ -162,11 +162,6 @@ data:
# Config settings from the configmap above
run_as "php $occ config:import /var/local/config.json"
# We used to set this in `config.json` too, but ran into a nextcloud bug:
# https://github.com/nextcloud/server/issues/45083
# The `echo "yes"` is necessary because in some cases nextcloud will warn
# about the string type and ask for confirmation.
echo "yes" | run_as "php $occ config:app:set --value webcron --type string core backgroundjobs_mode"
echo "Updating database indices, columns, keys, etc."
run_as "php $occ db:add-missing-indices --no-interaction"
......
......@@ -33,11 +33,6 @@ nextcloud:
# Shared redis password for Nextcloud and OnlyOffice
# password: CHANGE_ME
# Creates a kubernetes cronJob object that runs nextcloud's cron.php
# every 5 minutes (*/5 * * * *)
# cronjob:
# enabled: true
# persistence:
# enabled: true
# size: 2Gi
......
......@@ -25,6 +25,15 @@ nextcloud:
enabled: true
architecture: standalone
cronjob:
enabled: true
resources:
requests:
cpu: 10m
memory: 128Mi
limits:
memory: 1Gi
# Use 2 GB of storage for NC storage (maybe make configurable later?)
persistence:
enabled: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment