From a831f415f8d7a07e1de409f9fcbf15eb51efb308 Mon Sep 17 00:00:00 2001
From: Maarten de Waard <maarten@greenhost.nl>
Date: Fri, 26 Apr 2019 13:02:39 +0200
Subject: [PATCH] install nextcloud and collabora and automatically integrate
 it!

---
 templates/job.yaml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/templates/job.yaml b/templates/job.yaml
index c07a57a2..2ea807ff 100644
--- a/templates/job.yaml
+++ b/templates/job.yaml
@@ -27,9 +27,10 @@ spec:
           runAsUser: 33
           runAsGroup: 33
           fsGroup: 33
-          # command: ["/bin/bash", "-c", "echo 'install' && php occ app:install richdocuments && echo 'enable' && php occ app:enable richdocuments && echo 'config 1' && php occ config:app:set richdocuments disable_certificate_verification --value yes && echo 'config 2' && php occ config:app:set richdocuments wopi_url --value $NEXTCLOUD_TRUSTED_DOMAINS"]
-          # command: ["/bin/bash", "-c", "echo 'install rich documents' && php occ app:install richdocuments"]
-          command: ["/bin/bash", "-c", "echo \"wassup\""]
+        command:
+          - "/bin/bash"
+          - "-c"
+          - "echo 'install' && php occ app:install richdocuments && echo 'enable' && php occ app:enable richdocuments && echo 'config 1' && php occ config:app:set richdocuments disable_certificate_verification --value yes && echo 'config 2' && php occ config:app:set richdocuments wopi_url --value https://{{ .Values.collabora_server_name }}"
         volumeMounts:
         - name: nextcloud-data
           mountPath: /var/www/html/
-- 
GitLab