From 97aaba9d57f90ff399652e9167286e4149c81c40 Mon Sep 17 00:00:00 2001
From: Mark <mark@openappstack.net>
Date: Wed, 24 Jul 2019 18:15:29 +0200
Subject: [PATCH] Add comment to explain nextcloud settings

---
 nextcloud-onlyoffice/templates/onlyoffice-config.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/nextcloud-onlyoffice/templates/onlyoffice-config.yaml b/nextcloud-onlyoffice/templates/onlyoffice-config.yaml
index 26516f83..8c9c1440 100644
--- a/nextcloud-onlyoffice/templates/onlyoffice-config.yaml
+++ b/nextcloud-onlyoffice/templates/onlyoffice-config.yaml
@@ -41,6 +41,17 @@ data:
 
     # Config settings from the configmap above
     php occ config:import /var/local/onlyoffice-config.json
+  #
+  # All values in config.json are applied by the nextcloud occ command
+  #   config:import.
+  # system.trusted_proxies contains a list of proxies that are considered
+  #   to be trusted. 10.43.0.0/16 contains all ip addresses that are
+  #   assigned to kuberentes services which includes the ip address of
+  #   the ingress service that funtions as a proxy.
+  # apps.core.backroundjobs_mod 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":{
-- 
GitLab