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

doc update: add a section for installing the chart from a local repo

parent cbd1dffe
No related branches found
No related tags found
1 merge request!294Resolve "Update documentation with missing dependencies steps for chart installation"
Pipeline #31246 skipped with stage
......@@ -13,7 +13,7 @@ chart](https://github.com/helm/charts/tree/master/stable/collabora-code)
## Installation
**NOTE:** The `onlyoffice.server_name` variable needs to be
overwritten with an URL that points to your onlyoffice for this to work
overwritten with a URL that points to your onlyoffice for this to work
correctly. See `values-local.yaml.example` for an example of domain
configurations you might want to do. These instructions assume you copy
`values-local.yaml.example` to `values-local.yaml` and edit it.
......@@ -28,12 +28,40 @@ secrets variables manually when you run helm install:
- `onlyoffice.database.password`
- `rabbitmq.rabbitmq.password`
### Install from the remote repo
This is the way to go if you want to use the packaged chart as is. If you'd like to make changes before installing, refer to the next section.
Add our helm repository[^1]:
```console
helm repo add nextcloud-onlyoffice https://open.greenhost.net/api/v4/projects/1/packages/helm/stable
```
Then install the chart:
```console
helm install --wait -f values-local.yaml my-nextcloud nextcloud-onlyoffice/nextcloud-onlyoffice
```
**The `--wait` is important!** We need that because of how [helm chart
hooks](https://helm.sh/docs/topics/charts_hooks/) work:
> Note that if the --wait flag is set, the library will wait until all resources
> are in a ready state and will not run the post-install hook until they are
> ready.
The job in this chart needs the Nextcloud pod to be in a ready state before
being executed.
### Install from a local repo
Start by cloning the nextcloud helm chart repo:
```console
git clone https://open.greenhost.net/stackspin/nextcloud.git
```
Add the dependencies repositories:
```console
# nextcloud chart
......@@ -48,9 +76,8 @@ helm dependency build
```
Then install the chart:
```console
helm install --wait -f values-local.yaml my-nextcloud nextcloud-onlyoffice/nextcloud-onlyoffice
helm install --wait -f values-local.yaml my-nextcloud ./nextcloud
```
**The `--wait` is important!** We need that because of how [helm chart
......
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