Skip to content
Snippets Groups Projects
Commit e78897ad authored by Syrine Neifar's avatar Syrine Neifar
Browse files

Renaming the new apps vars and small improvements

parent 70f103fc
No related branches found
No related tags found
1 merge request!528Resolve "Make it easier to customize set of apps"
......@@ -107,16 +107,17 @@ through the Apps screen in Nextcloud.
Apps that are installed this way are automatically updated to their newest
version every time Nextcloud is updated.
To install apps, edit the values.yaml file by adding your app config under:
- `default_apps` if this app will part of the Stackspin defaults.
- `custom_apps` if you're installing this app only for a specific cluster.
To install apps, you can add entries to the following helm values.
- `default` if this app will part of the Stackspin defaults.
- `custom` if you're installing this app only for a specific cluster.
These apps will then be installed when the Nextcloud pod starts. Both `default` and `custom` are treated the same way -- we have both to make it easier to organize your helm values.
```yaml
apps:
default_apps:
default:
- name: sociallogin # Installs sociallogin app
enabled: false # Disables sociallogin by default
custom_apps:
custom:
- name: polls
enabled: false
```
......@@ -132,7 +133,7 @@ To install an app from GitHub releases:
```yaml
apps:
default_apps:
default:
- name: onlyoffice
# The name of the repository. This is the name for a repository located at
# https://github.com/ONLYOFFICE/onlyoffice-nextcloud:
......
......@@ -178,9 +178,9 @@ data:
{{- if .enabled }}
# Enable {{ .name }} app
run_as "php $occ app:enable {{ .name }}"
{{ end }} # end if .enabled
{{ end }} # end range $apps
{{ end }} # end range .Values.apps
{{- end }} # end if .enabled
{{- end }} # end range $apps
{{- end }} # end range .Values.apps
# Some of the manually installed apps might need to run upgrade scripts, run
# them now
......
......@@ -67,13 +67,15 @@ rabbitmq:
# apps controls which apps will be installed and enabled in nextcloud
# apps:
# default_apps:
# default:
# - name: sociallogin
# # apps[0].enabled needs to be set to true if you want to enable login via an external
# # oauth server. In that case you need to configure all the values in `sociallogin`
# enabled: false
# - name: onlyoffice
# enabled: true
# custom:
# # Apps you want to add that are not part of Stackspin defaults.
# - name: polls
# # Install an app from a github repository. This has the advantage that you
# # can pin the version number, so it does not get auto-updated to breaking
......
......@@ -61,25 +61,7 @@ nextcloud:
- "/var/local/setup-apps.sh"
apps:
<<<<<<< HEAD
- name: sociallogin
# apps[0].enabled needs to be set to true if you want to enable login via an external
# oauth server. In that case you need to configure all the values in `sociallogin`
enabled: false
# Line order is important here for renovatebot! first github_repository,
# then version
github_repository: zorn-v/nextcloud-social-login
version: v5.4.3
release_filename: release.tar.gz
- name: onlyoffice
# Line order is important here for renovatebot! first github_repository,
# then version
github_repository: ONLYOFFICE/onlyoffice-nextcloud
version: v7.8.0
release_filename: onlyoffice.tar.gz
enabled: true
=======
default_apps:
default:
- name: sociallogin
# apps[0].enabled needs to be set to true if you want to enable login via an external
# oauth server. In that case you need to configure all the values in `sociallogin`
......@@ -96,12 +78,6 @@ apps:
github_repository: ONLYOFFICE/onlyoffice-nextcloud
version: v7.8.0
release_filename: onlyoffice.tar.gz
custom_apps:
# Apps you want to add that are not part of Stackspin defaults.
- name: polls
enabled: false
>>>>>>> 28ef4ee (add a custom_apps list to the chart values)
setupApps:
# How many times the setup-apps job can try and fail before it is marked as
......
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