Verified Commit 0757f179 authored by Maarten de Waard's avatar Maarten de Waard 🤘🏻

fix many issues

parent cc100ae0
......@@ -47,11 +47,19 @@ Do these three steps to prepare the installation process:
1. You need to set some environment variables:
- `$NEXTCLOUD_PASSWORD` to set the Nextcloud administrator password
- `$COLLABORA_PASSWORD` to set the Collabora administrator password
- `$NEXTCLOUD_MARIADB_ROOT_PASSWORD` for the MariaDB that NextCloud uses
1. OAS allows you to override the traefik configuration by setting variables in
a file at `/oas/config/values/apps/traefik.yaml`. You can leave this file
a file at `/oas/config/values/apps/nginx.yaml`. You can leave this file
empty, but it *has* to exist.
1. The repo installs certmanager, which uses some custom resource definitions.
You need to add these resource definitions like so:
```
kubectl apply -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.7/deploy/manifests/00-crds.yaml
```
### Installation
Install all the applications by running:
......
......@@ -3,16 +3,15 @@ environments:
values:
- "../../../../config/values/local.yaml"
# Note: needs helm-git plugin (https://github.com/aslafy-z/helm-git)
repositories:
- name: nextcloud
url: git+https://code.greenhost.net/openappstack/nextcloud@nextcloud?ref=master
releases:
- name: "oas-{{ .Environment.Values.releaseName }}-files"
namespace: "oas-apps"
chart: "stable/nextcloud"
chart: "nextcloud/nextcloud-collabora"
values:
- "../values/nextcloud.yaml.gotmpl"
wait: true
- name: "oas-{{ .Environment.Values.releaseName }}-office"
namespace: "oas-apps"
chart: "../../charts/stable/collabora-code"
values:
- "../values/collabora.yaml.gotmpl"
wait: true
......@@ -10,6 +10,10 @@ nextcloud:
kubernetes.io/tls-acme: "true"
hosts:
- "files.{{ .Environment.Values.domain }}"
tls:
- hosts:
- "files.{{ .Environment.Values.domain }}"
secretName: oas-{{ .Environment.Values.releaseName }}-files
# Use 2 GB of storage for NC storage (maybe make configurable later?)
persistence:
......@@ -43,6 +47,10 @@ collabora-code:
- "/"
hosts:
- "office.{{ .Environment.Values.domain }}"
tls:
- hosts:
- "office.{{ .Environment.Values.domain }}"
secretName: oas-{{ .Environment.Values.releaseName }}-office
collabora:
domain: "files.{{ .Environment.Values.domain }}"
......
controller:
# scope:
# enabled: true
# namespace: oas-apps
service:
externalIPs: ["{{ .Environment.Values.ip }}"]
resources:
limits:
cpu: 100m
......
Markdown is supported
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