Verified Commit a19aa35e authored by Maarten de Waard's avatar Maarten de Waard 👼
Browse files

enable and disable app store around app installation commands

parent 705d05c0
## [0.3.1] - 2021-08-10
* Fix `setup-apps` job for chart upgrades with new apps
## [0.3.0] - 2021-08-04
* Update NC chart to 2.7.0, including NC 20.0.11
......
......@@ -3,7 +3,7 @@ apiVersion: v2
description: |
A helm chart for installing NextCloud and setting up ONLYOFFICE integration
name: nextcloud-onlyoffice
version: 0.3.0
version: 0.3.1
appVersion: NC-20.0.11-OO-6.2.2.21
dependencies:
- name: nextcloud
......
......@@ -43,6 +43,8 @@ data:
cp /var/local/onlyoffice-config.json /var/www/html/
cp /var/local/social-login-config.json /var/www/html/
occ="/var/www/html/occ"
# Enable app store so we can run `install` and `enable` commands
php occ config:system:set appstoreenabled --type boolean --value true
{{- range .Values.apps }}
# -- Begin {{ .name }}
# Only install {{ .name }} if it's not installed already
......@@ -58,6 +60,8 @@ data:
# Config settings from the configmap above
php $occ config:import /var/local/onlyoffice-config.json
php $occ config:import /var/local/social-login-config.json
# Disable app store again
php occ config:system:set appstoreenabled --type boolean --value false
#
# All values in config.json are applied by the nextcloud occ command
# config:import.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment