Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-07-22 11:53:31 +00:00
parent 502d15dce6
commit b33552fd7b
190 changed files with 4499 additions and 532 deletions

View File

@ -1,6 +1,14 @@
# Changelog
## [mariadb-3.0.40](https://github.com/truecharts/apps/compare/mariadb-3.0.39...mariadb-3.0.40) (2022-07-22)
### Chore
- update docker general non-major ([#3258](https://github.com/truecharts/apps/issues/3258))
## [mariadb-3.0.39](https://github.com/truecharts/apps/compare/mariadb-3.0.38...mariadb-3.0.39) (2022-07-21)
### Chore
@ -89,11 +97,3 @@
- update icons ([#3156](https://github.com/truecharts/apps/issues/3156))
- bump to cleanup old docs and use correct icon urls
## [memcached-3.0.30](https://github.com/truecharts/apps/compare/memcached-3.0.29...memcached-3.0.30) (2022-07-12)
### Chore
- bump to regenerate documentation

View File

@ -3,4 +3,4 @@ dependencies:
repository: https://library-charts.truecharts.org
version: 10.4.6
digest: sha256:b6ec2269ef52a07204e68067ac07f04cd95aca6939723dd642d52842c9c91692
generated: "2022-07-21T13:02:11.496793903Z"
generated: "2022-07-22T11:46:29.376235548Z"

View File

@ -24,7 +24,7 @@ sources:
- https://github.com/prometheus/mysqld_exporter
- https://mariadb.org
type: application
version: 3.0.39
version: 3.0.40
annotations:
truecharts.org/catagories: |
- database

View File

@ -1,6 +1,6 @@
# mariadb
![Version: 3.0.39](https://img.shields.io/badge/Version-3.0.39-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 10.8.3](https://img.shields.io/badge/AppVersion-10.8.3-informational?style=flat-square)
![Version: 3.0.40](https://img.shields.io/badge/Version-3.0.40-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 10.8.3](https://img.shields.io/badge/AppVersion-10.8.3-informational?style=flat-square)
Fast, reliable, scalable, and easy to use open-source relational database system.

View File

@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/mariadb
pullPolicy: IfNotPresent
tag: v10.8.3@sha256:aebc0d76ebb721a985c11950f7e28239b43de126d6229e5825605b4c2d37269d
tag: v10.8.3@sha256:ebb58d2e01448bef261ff6af2ff8a9f1642b1c3aa220fc730d26df697bbed79f
controller:
# -- Set the controller type.

View File

@ -1,6 +1,14 @@
# Changelog
## [postgresql-8.0.42](https://github.com/truecharts/apps/compare/postgresql-8.0.41...postgresql-8.0.42) (2022-07-22)
### Chore
- update docker general non-major ([#3258](https://github.com/truecharts/apps/issues/3258))
## [postgresql-8.0.41](https://github.com/truecharts/apps/compare/postgresql-8.0.40...postgresql-8.0.41) (2022-07-21)
### Chore
@ -89,11 +97,3 @@
- update docker general non-major ([#3157](https://github.com/truecharts/apps/issues/3157))
## [postgresql-8.0.33](https://github.com/truecharts/apps/compare/postgresql-8.0.31...postgresql-8.0.33) (2022-07-12)
### Chore
- update icons ([#3156](https://github.com/truecharts/apps/issues/3156))
- bump to cleanup old docs and use correct icon urls

View File

@ -3,4 +3,4 @@ dependencies:
repository: https://library-charts.truecharts.org
version: 10.4.6
digest: sha256:b6ec2269ef52a07204e68067ac07f04cd95aca6939723dd642d52842c9c91692
generated: "2022-07-21T13:01:55.540985013Z"
generated: "2022-07-22T11:46:29.280897409Z"

View File

@ -22,7 +22,7 @@ name: postgresql
sources:
- https://www.postgresql.org/
type: application
version: 8.0.41
version: 8.0.42
annotations:
truecharts.org/catagories: |
- database

View File

@ -1,6 +1,6 @@
# postgresql
![Version: 8.0.41](https://img.shields.io/badge/Version-8.0.41-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 14.4.0](https://img.shields.io/badge/AppVersion-14.4.0-informational?style=flat-square)
![Version: 8.0.42](https://img.shields.io/badge/Version-8.0.42-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 14.4.0](https://img.shields.io/badge/AppVersion-14.4.0-informational?style=flat-square)
PostgresSQL

View File

@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/postgresql
pullPolicy: IfNotPresent
tag: v14.4.0@sha256:c640658966db42b0b6589f4f2975be0a20d6aa8f0ba2510504451103a2554ce5
tag: v14.4.0@sha256:1b1f02b94a647df8a0473de36c553366f474c87119cab8a3c91582194acc7b2e
controller:
# -- Set the controller type.

View File

@ -1,45 +0,0 @@
# radicale
Radicale is a small but powerful CalDAV (calendars, to-do lists) and CardDAV (contacts) server.
TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation.
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
## Source Code
* <https://radicale.org/>
* <https://github.com/Kozea/Radicale>
* <https://github.com/tomsquest/docker-radicale>
* <https://hub.docker.com/r/tomsquest/docker-radicale>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.truecharts.org | common | 10.4.4 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/02-Installing-an-App/).
## Upgrading, Rolling Back and Uninstalling the Chart
To upgrade, rollback or delete this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/04-Upgrade-rollback-delete-an-App/).
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our [Linking Apps Internally](https://truecharts.org/manual/Quick-Start%20Guides/06-linking-apps/) quick-start guide.
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Adding-TrueCharts/) first.
- See the [Wiki](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
All Rights Reserved - The TrueCharts Project

View File

@ -1,3 +0,0 @@
Radicale is a small but powerful CalDAV (calendars, to-do lists) and CardDAV (contacts) server.
This App is supplied by TrueCharts, for more information please visit https://truecharts.org

View File

@ -1,6 +1,22 @@
# Changelog
## [radicale-0.0.17](https://github.com/truecharts/apps/compare/radicale-0.0.16...radicale-0.0.17) (2022-07-22)
### Chore
- update docker general non-major ([#3258](https://github.com/truecharts/apps/issues/3258))
## [radicale-0.0.16](https://github.com/truecharts/apps/compare/radicale-0.0.15...radicale-0.0.16) (2022-07-19)
### Chore
- Update Readme and Description on SCALE
## [radicale-0.0.15](https://github.com/truecharts/apps/compare/radicale-0.0.14...radicale-0.0.15) (2022-07-14)
### Fix
@ -81,19 +97,3 @@
<a name="radicale-0.0.4"></a>
### [radicale-0.0.4](https://github.com/truecharts/apps/compare/radicale-0.0.3...radicale-0.0.4) (2022-07-04)
#### Chore
* update helm general non-major helm releases ([#3066](https://github.com/truecharts/apps/issues/3066))
<a name="radicale-0.0.3"></a>
### [radicale-0.0.3](https://github.com/truecharts/apps/compare/radicale-0.0.2...radicale-0.0.3) (2022-07-03)
#### Chore
* update docker general non-major ([#3052](https://github.com/truecharts/apps/issues/3052))

View File

@ -3,4 +3,4 @@ dependencies:
repository: https://library-charts.truecharts.org
version: 10.4.4
digest: sha256:e76f58e980866194e06f0e9135c981662f0b1132d3c5848dbf344c48ab657396
generated: "2022-07-20T08:30:33.623600255Z"
generated: "2022-07-22T11:46:29.45678777Z"

View File

@ -1,5 +1,5 @@
apiVersion: v2
appVersion: "3.1.7.0"
appVersion: "3.1.8.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
@ -28,7 +28,7 @@ sources:
- https://github.com/tomsquest/docker-radicale
- https://hub.docker.com/r/tomsquest/docker-radicale
type: application
version: 0.0.15
version: 0.0.17
annotations:
truecharts.org/catagories: |
- radicale

View File

@ -0,0 +1,110 @@
# radicale
![Version: 0.0.17](https://img.shields.io/badge/Version-0.0.17-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.1.8.0](https://img.shields.io/badge/AppVersion-3.1.8.0-informational?style=flat-square)
Radicale is a small but powerful CalDAV (calendars, to-do lists) and CardDAV (contacts) server.
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
This readme is just an automatically generated general guide on installing our Helm Charts and Apps.
For more information, please click here: [radicale](https://truecharts.org/charts/stable/radicale)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
## Source Code
* <https://radicale.org/>
* <https://github.com/Kozea/Radicale>
* <https://github.com/tomsquest/docker-radicale>
* <https://hub.docker.com/r/tomsquest/docker-radicale>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.truecharts.org | common | 10.4.4 |
## Installing the Chart
### TrueNAS SCALE
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/02-Installing-an-App/).
### Helm
To install the chart with the release name `radicale`
```console
helm repo add TrueCharts https://helm.truecharts.org
helm repo update
helm install radicale TrueCharts/radicale
```
## Uninstall
### TrueNAS SCALE
**Upgrading, Rolling Back and Uninstalling the Chart**
To upgrade, rollback or delete this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/04-Upgrade-rollback-delete-an-App/).
### Helm
To uninstall the `radicale` deployment
```console
helm uninstall radicale
```
## Configuration
### Helm
#### Available Settings
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
Other values may be used from the [values.yaml](https://github.com/truecharts/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
#### Configure using the Commandline
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install radicale \
--set env.TZ="America/New York" \
TrueCharts/radicale
```
#### Configure using a yaml file
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install radicale TrueCharts/radicale -f values.yaml
```
#### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our [Linking Apps Internally](https://truecharts.org/manual/Quick-Start%20Guides/06-linking-apps/) quick-start guide.
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/Quick-Start%20Guides/Important-MUST-READ).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can!
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,8 @@
Radicale is a small but powerful CalDAV (calendars, to-do lists) and CardDAV (contacts) server.
This App is supplied by TrueCharts, for more information visit the manual: https://truecharts.org/charts/incubator/radicale
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can!

View File

@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/radicale
pullPolicy: IfNotPresent
tag: v3.1.7.0@sha256:57e164314ffc65d27fd3361c94ce34a97995f9edeb8a0b57b764e22ae9787d86
tag: v3.1.8.0@sha256:1baa22dd17198a4854ffbfb85aad7bcdcebdff4cee1b8b4ce5d5ba6af0308be6
# Docker image configuration docs:
# https://github.com/tomsquest/docker-radicale#custom-configuration

View File

@ -1,6 +1,14 @@
# Changelog
## [wger-0.0.26](https://github.com/truecharts/apps/compare/wger-0.0.25...wger-0.0.26) (2022-07-22)
### Chore
- update docker general non-major ([#3258](https://github.com/truecharts/apps/issues/3258))
## [wger-0.0.25](https://github.com/truecharts/apps/compare/wger-0.0.24...wger-0.0.25) (2022-07-21)
### Chore
@ -89,11 +97,3 @@
### Chore
- bump to regenerate documentation
<a name="wger-0.0.14"></a>
### [wger-0.0.14](https://github.com/truecharts/apps/compare/wger-0.0.13...wger-0.0.14) (2022-07-12)
#### Chore

View File

@ -9,4 +9,4 @@ dependencies:
repository: https://charts.truecharts.org
version: 3.0.30
digest: sha256:219b167cbd3e6d31f846ea247c9c12c15ece396a62777870f479b331a392bd5d
generated: "2022-07-19T09:44:27.21594945Z"
generated: "2022-07-22T11:46:44.527872733Z"

View File

@ -26,7 +26,7 @@ name: wger
sources:
- https://github.com/wger-project/wger
- https://github.com/wger-project/docker
version: 0.0.25
version: 0.0.26
annotations:
truecharts.org/catagories: |
- life

View File

@ -1,6 +1,6 @@
# wger
![Version: 0.0.25](https://img.shields.io/badge/Version-0.0.25-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
![Version: 0.0.26](https://img.shields.io/badge/Version-0.0.26-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
Workout Manager is a free, open source web application that helps you manage your personal workouts, weight and diet plans and can also be used as a simple gym management utility.

View File

@ -1,11 +1,11 @@
image:
repository: wger/server
tag: latest@sha256:87a4ab781caf596f4f0fc826fbe2a63e2d1e7d30257bfe33cfaf155e61e52219
tag: latest@sha256:88a479484c1333a797a6aed542cb87b32907ed590ffdce4fb86dd96bd515ed05
pullPolicy: IfNotPresent
nginxImage:
repository: tccr.io/truecharts/nginx
tag: v1.23.0@sha256:4545dec2db20dd215a48d03ff65887cd4abae935f6876cd1f8d0d44a3b6ced32
tag: v1.23.1@sha256:dd2e66c3774f076a586835ef0313b1a279bcbc53a76dbcab244fa08a0c251f2d
securityContext:
runAsNonRoot: false

View File

@ -1,6 +1,14 @@
# Changelog
## [dashdot-1.0.31](https://github.com/truecharts/apps/compare/dashdot-1.0.30...dashdot-1.0.31) (2022-07-22)
### Chore
- update docker general non-major ([#3258](https://github.com/truecharts/apps/issues/3258))
## [dashdot-1.0.30](https://github.com/truecharts/apps/compare/dashdot-1.0.29...dashdot-1.0.30) (2022-07-20)
### Chore
@ -89,11 +97,3 @@
<a name="darktable-3.0.9"></a>
### [darktable-3.0.9](https://github.com/truecharts/apps/compare/darktable-3.0.8...darktable-3.0.9) (2022-07-09)
#### Chore
* update helm general non-major helm releases ([#3113](https://github.com/truecharts/apps/issues/3113))
<a name="darktable-3.0.8"></a>
### [darktable-3.0.8](https://github.com/truecharts/apps/compare/darktable-3.0.7...darktable-3.0.8) (2022-07-04)

View File

@ -3,4 +3,4 @@ dependencies:
repository: https://library-charts.truecharts.org
version: 10.4.4
digest: sha256:e76f58e980866194e06f0e9135c981662f0b1132d3c5848dbf344c48ab657396
generated: "2022-07-14T20:59:54.263411482Z"
generated: "2022-07-22T11:46:50.797374146Z"

View File

@ -1,5 +1,5 @@
apiVersion: v2
appVersion: "4.3.3"
appVersion: "4.3.5"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
@ -19,7 +19,7 @@ name: dashdot
sources:
- https://github.com/MauriceNino/dashdot
- https://hub.docker.com/r/mauricenino/dashdot
version: 1.0.30
version: 1.0.31
annotations:
truecharts.org/catagories: |
- media

View File

@ -1,6 +1,6 @@
# dashdot
![Version: 1.0.30](https://img.shields.io/badge/Version-1.0.30-informational?style=flat-square) ![AppVersion: 4.3.3](https://img.shields.io/badge/AppVersion-4.3.3-informational?style=flat-square)
![Version: 1.0.31](https://img.shields.io/badge/Version-1.0.31-informational?style=flat-square) ![AppVersion: 4.3.5](https://img.shields.io/badge/AppVersion-4.3.5-informational?style=flat-square)
dash. (or dashdot) is a modern server dashboard, running on the latest tech, designed with glassmorphism in mind.

View File

@ -1,6 +1,6 @@
image:
repository: tccr.io/truecharts/dashdot
tag: v4.3.3@sha256:1a2893de365e8e2285ac0595a3805bd9b7a3c43f6b20634d65974458a132845b
tag: v4.3.5@sha256:19dd7dd650a3408278f4a03dbcb7b09025188f33bc3bb44036e70a1fc9f9a2a8
pullPolicy: IfNotPresent
securityContext:

View File

@ -1,6 +1,14 @@
# Changelog
## [dokuwiki-3.0.33](https://github.com/truecharts/apps/compare/dokuwiki-3.0.32...dokuwiki-3.0.33) (2022-07-22)
### Chore
- update docker general non-major ([#3258](https://github.com/truecharts/apps/issues/3258))
## [dokuwiki-3.0.32](https://github.com/truecharts/apps/compare/dokuwiki-3.0.31...dokuwiki-3.0.32) (2022-07-20)
### Chore
@ -89,11 +97,3 @@
#### Chore
* update docker general non-major ([#3115](https://github.com/truecharts/apps/issues/3115))
<a name="dokuwiki-3.0.19"></a>
### [dokuwiki-3.0.19](https://github.com/truecharts/apps/compare/dokuwiki-3.0.18...dokuwiki-3.0.19) (2022-07-09)
#### Chore

View File

@ -3,4 +3,4 @@ dependencies:
repository: https://library-charts.truecharts.org
version: 10.4.4
digest: sha256:e76f58e980866194e06f0e9135c981662f0b1132d3c5848dbf344c48ab657396
generated: "2022-07-20T08:30:25.279946701Z"
generated: "2022-07-22T11:46:50.980470067Z"

View File

@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: dokuwiki
version: 3.0.32
version: 3.0.33
appVersion: "20200729.0"
description: Dokuwiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database.
type: application

View File

@ -1,6 +1,6 @@
# dokuwiki
![Version: 3.0.32](https://img.shields.io/badge/Version-3.0.32-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 20200729.0](https://img.shields.io/badge/AppVersion-20200729.0-informational?style=flat-square)
![Version: 3.0.33](https://img.shields.io/badge/Version-3.0.33-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 20200729.0](https://img.shields.io/badge/AppVersion-20200729.0-informational?style=flat-square)
Dokuwiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database.

View File

@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/dokuwiki
pullPolicy: IfNotPresent
tag: v20200729.0.0@sha256:e4e386609aaaf4ba8fb52efa8beef73da7d9e91686cf92bf9e7609f9cd8e386c
tag: v20200729.0.0@sha256:7f612e378aef7cb72a765e93c329b983afae931ca4731f14dc168fb2e1217ec1
securityContext:
runAsNonRoot: false

View File

@ -1,154 +0,0 @@
# inventree
![Version: 3.0.24](https://img.shields.io/badge/Version-3.0.24-informational?style=flat-square) ![AppVersion: 0.7.5](https://img.shields.io/badge/AppVersion-0.7.5-informational?style=flat-square)
InvenTree is an open-source Inventory Management System which provides powerful low-level stock control and part tracking.
**Homepage:** <https://github.com/truecharts/apps/tree/master/charts/incubator/inventree>
## Maintainers
| Name | Email | Url |
| ---- | ------ | --- |
| TrueCharts | info@truecharts.org | https://truecharts.org |
## Source Code
* <https://inventree.readthedocs.io>
* <https://github.com/inventree/InvenTree>
## Requirements
Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.truecharts.org/ | postgresql | 8.0.30 |
| https://charts.truecharts.org | redis | 3.0.30 |
| https://library-charts.truecharts.org | common | 10.4.4 |
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| additionalContainers.nginx.image | string | `"{{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}"` | |
| additionalContainers.nginx.name | string | `"nginx"` | |
| additionalContainers.nginx.ports[0].containerPort | int | `10231` | |
| additionalContainers.nginx.ports[0].name | string | `"main"` | |
| additionalContainers.nginx.securityContext.readOnlyRootFilesystem | bool | `false` | |
| additionalContainers.nginx.securityContext.runAsGroup | int | `100` | |
| additionalContainers.nginx.securityContext.runAsNonRoot | bool | `false` | |
| additionalContainers.nginx.securityContext.runAsUser | int | `0` | |
| additionalContainers.nginx.volumeMounts[0].mountPath | string | `"/etc/nginx/conf.d/default.conf"` | |
| additionalContainers.nginx.volumeMounts[0].name | string | `"inventree-config"` | |
| additionalContainers.nginx.volumeMounts[0].readOnly | bool | `true` | |
| additionalContainers.nginx.volumeMounts[0].subPath | string | `"nginx-config"` | |
| additionalContainers.nginx.volumeMounts[1].mountPath | string | `"/var/www"` | |
| additionalContainers.nginx.volumeMounts[1].name | string | `"data"` | |
| additionalContainers.worker.command[0] | string | `"invoke"` | |
| additionalContainers.worker.command[1] | string | `"worker"` | |
| additionalContainers.worker.env[0].name | string | `"INVENTREE_DB_ENGINE"` | |
| additionalContainers.worker.env[0].value | string | `"postgresql"` | |
| additionalContainers.worker.env[1].name | string | `"INVENTREE_DB_NAME"` | |
| additionalContainers.worker.env[1].value | string | `"{{ .Values.postgresql.postgresqlDatabase }}"` | |
| additionalContainers.worker.env[2].name | string | `"INVENTREE_DB_USER"` | |
| additionalContainers.worker.env[2].value | string | `"{{ .Values.postgresql.postgresqlUsername }}"` | |
| additionalContainers.worker.env[3].name | string | `"INVENTREE_DB_PORT"` | |
| additionalContainers.worker.env[3].value | string | `"5432"` | |
| additionalContainers.worker.env[4].name | string | `"INVENTREE_CACHE_PORT"` | |
| additionalContainers.worker.env[4].value | string | `"6379"` | |
| additionalContainers.worker.env[5].name | string | `"INVENTREE_CACHE_HOST"` | |
| additionalContainers.worker.env[5].valueFrom.secretKeyRef.key | string | `"plainhostpass"` | |
| additionalContainers.worker.env[5].valueFrom.secretKeyRef.name | string | `"rediscreds"` | |
| additionalContainers.worker.env[6].name | string | `"INVENTREE_DB_HOST"` | |
| additionalContainers.worker.env[6].valueFrom.secretKeyRef.key | string | `"plainhost"` | |
| additionalContainers.worker.env[6].valueFrom.secretKeyRef.name | string | `"dbcreds"` | |
| additionalContainers.worker.env[7].name | string | `"INVENTREE_DB_PASSWORD"` | |
| additionalContainers.worker.env[7].valueFrom.secretKeyRef.key | string | `"postgresql-password"` | |
| additionalContainers.worker.env[7].valueFrom.secretKeyRef.name | string | `"dbcreds"` | |
| additionalContainers.worker.env[8].name | string | `"INVENTREE_SECRET_KEY"` | |
| additionalContainers.worker.env[8].valueFrom.secretKeyRef.key | string | `"INVENTREE_SECRET_KEY"` | |
| additionalContainers.worker.env[8].valueFrom.secretKeyRef.name | string | `"inventree-secrets"` | |
| additionalContainers.worker.image | string | `"{{ .Values.image.repository }}:{{ .Values.image.tag }}"` | |
| additionalContainers.worker.name | string | `"worker"` | |
| additionalContainers.worker.volumeMounts[0].mountPath | string | `"/home/inventree/data"` | |
| additionalContainers.worker.volumeMounts[0].name | string | `"data"` | |
| configmap.config.data.nginx-config | string | `"server {\n listen 10231;\n real_ip_header proxy_protocol;\n location / {\n proxy_set_header Host $http_host;\n proxy_set_header X-Forwarded-By $server_addr:$server_port;\n proxy_set_header X-Forwarded-For $remote_addr;\n proxy_set_header X-Forwarded-Proto $scheme;\n proxy_set_header X-Real-IP $remote_addr;\n proxy_set_header CLIENT_IP $remote_addr;\n proxy_pass_request_headers on;\n proxy_redirect off;\n client_max_body_size 100M;\n proxy_buffering off;\n proxy_request_buffering off;\n proxy_pass http://localhost:8000;\n }\n # Redirect any requests for static files\n location /static/ {\n alias /var/www/static/;\n autoindex on;\n # Caching settings\n expires 30d;\n add_header Pragma public;\n add_header Cache-Control \"public\";\n }\n # Redirect any requests for media files\n location /media/ {\n alias /var/www/media/;\n # Media files require user authentication\n auth_request /auth;\n }\n # Use the 'user' API endpoint for auth\n location /auth {\n internal;\n proxy_pass http://localhost:8000/auth/;\n proxy_pass_request_body off;\n proxy_set_header Content-Length \"\";\n proxy_set_header X-Original-URI $request_uri;\n }\n}"` | |
| configmap.config.enabled | bool | `true` | |
| env.INVENTREE_CACHE_HOST.secretKeyRef.key | string | `"plainhostpass"` | |
| env.INVENTREE_CACHE_HOST.secretKeyRef.name | string | `"rediscreds"` | |
| env.INVENTREE_CACHE_PORT | string | `"6379"` | |
| env.INVENTREE_DB_ENGINE | string | `"postgresql"` | |
| env.INVENTREE_DB_HOST.secretKeyRef.key | string | `"plainhost"` | |
| env.INVENTREE_DB_HOST.secretKeyRef.name | string | `"dbcreds"` | |
| env.INVENTREE_DB_NAME | string | `"{{ .Values.postgresql.postgresqlDatabase }}"` | |
| env.INVENTREE_DB_PASSWORD.secretKeyRef.key | string | `"postgresql-password"` | |
| env.INVENTREE_DB_PASSWORD.secretKeyRef.name | string | `"dbcreds"` | |
| env.INVENTREE_DB_PORT | string | `"5432"` | |
| env.INVENTREE_DB_USER | string | `"{{ .Values.postgresql.postgresqlUsername }}"` | |
| env.INVENTREE_DEBUG | bool | `false` | |
| env.INVENTREE_LOGIN_ATTEMPTS | int | `5` | |
| env.INVENTREE_LOGIN_CONFIRM_DAYS | int | `3` | |
| env.INVENTREE_LOG_LEVEL | string | `"INFO"` | |
| env.INVENTREE_PLUGINS_ENABLED | bool | `false` | |
| env.INVENTREE_SECRET_KEY.secretKeyRef.key | string | `"INVENTREE_SECRET_KEY"` | |
| env.INVENTREE_SECRET_KEY.secretKeyRef.name | string | `"inventree-secrets"` | |
| env.INVENTREE_TIMEZONE | string | `"{{ .Values.TZ }}"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"tccr.io/truecharts/inventree"` | |
| image.tag | string | `"v0.7.5@sha256:7677153653b26249ffb97430b0b95943e820256bbacbb8b4d0cd565759b7ce0b"` | |
| initContainers.init-migrate.args[0] | string | `"cd /home/inventree;\ninvoke update;"` | |
| initContainers.init-migrate.command[0] | string | `"sh"` | |
| initContainers.init-migrate.command[1] | string | `"-c"` | |
| initContainers.init-migrate.env[0].name | string | `"INVENTREE_DB_ENGINE"` | |
| initContainers.init-migrate.env[0].value | string | `"postgresql"` | |
| initContainers.init-migrate.env[1].name | string | `"INVENTREE_DB_NAME"` | |
| initContainers.init-migrate.env[1].value | string | `"{{ .Values.postgresql.postgresqlDatabase }}"` | |
| initContainers.init-migrate.env[2].name | string | `"INVENTREE_DB_USER"` | |
| initContainers.init-migrate.env[2].value | string | `"{{ .Values.postgresql.postgresqlUsername }}"` | |
| initContainers.init-migrate.env[3].name | string | `"INVENTREE_DB_PORT"` | |
| initContainers.init-migrate.env[3].value | string | `"5432"` | |
| initContainers.init-migrate.env[4].name | string | `"INVENTREE_CACHE_PORT"` | |
| initContainers.init-migrate.env[4].value | string | `"6379"` | |
| initContainers.init-migrate.env[5].name | string | `"INVENTREE_CACHE_HOST"` | |
| initContainers.init-migrate.env[5].valueFrom.secretKeyRef.key | string | `"plainhostpass"` | |
| initContainers.init-migrate.env[5].valueFrom.secretKeyRef.name | string | `"rediscreds"` | |
| initContainers.init-migrate.env[6].name | string | `"INVENTREE_DB_HOST"` | |
| initContainers.init-migrate.env[6].valueFrom.secretKeyRef.key | string | `"plainhost"` | |
| initContainers.init-migrate.env[6].valueFrom.secretKeyRef.name | string | `"dbcreds"` | |
| initContainers.init-migrate.env[7].name | string | `"INVENTREE_DB_PASSWORD"` | |
| initContainers.init-migrate.env[7].valueFrom.secretKeyRef.key | string | `"postgresql-password"` | |
| initContainers.init-migrate.env[7].valueFrom.secretKeyRef.name | string | `"dbcreds"` | |
| initContainers.init-migrate.env[8].name | string | `"INVENTREE_SECRET_KEY"` | |
| initContainers.init-migrate.env[8].valueFrom.secretKeyRef.key | string | `"INVENTREE_SECRET_KEY"` | |
| initContainers.init-migrate.env[8].valueFrom.secretKeyRef.name | string | `"inventree-secrets"` | |
| initContainers.init-migrate.image | string | `"{{ .Values.image.repository }}:{{ .Values.image.tag }}"` | |
| initContainers.init-migrate.name | string | `"init-migrate"` | |
| initContainers.init-migrate.volumeMounts[0].mountPath | string | `"/home/inventree/data"` | |
| initContainers.init-migrate.volumeMounts[0].name | string | `"data"` | |
| nginxImage.repository | string | `"tccr.io/truecharts/nginx"` | |
| nginxImage.tag | string | `"v1.23.0@sha256:4545dec2db20dd215a48d03ff65887cd4abae935f6876cd1f8d0d44a3b6ced32"` | |
| persistence.data.enabled | bool | `true` | |
| persistence.data.mountPath | string | `"/home/inventree/data"` | |
| persistence.inventree-config.enabled | string | `"true"` | |
| persistence.inventree-config.mountPath | string | `"/etc/nginx/nginx.conf"` | |
| persistence.inventree-config.subPath | string | `"nginx-confing"` | |
| persistence.inventree-config.type | string | `"custom"` | |
| persistence.inventree-config.volumeSpec.configMap.name | string | `"{{ printf \"%v-config\" (include \"tc.common.names.fullname\" .) }}"` | |
| podSecurityContext.runAsGroup | int | `0` | |
| podSecurityContext.runAsUser | int | `100` | |
| postgresql.enabled | bool | `true` | |
| postgresql.existingSecret | string | `"dbcreds"` | |
| postgresql.postgresqlDatabase | string | `"inventree"` | |
| postgresql.postgresqlUsername | string | `"inventree"` | |
| redis.enabled | bool | `true` | |
| redis.existingSecret | string | `"rediscreds"` | |
| secretEnv.INVENTREE_ADMIN_EMAIL | string | `"test@example.com"` | |
| secretEnv.INVENTREE_ADMIN_PASSWORD | string | `"secret"` | |
| secretEnv.INVENTREE_ADMIN_USER | string | `"testuser"` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| service.main.ports.main.port | int | `10231` | |
| service.main.ports.main.targetPort | int | `10231` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v0.1.1](https://github.com/k8s-at-home/helm-docs/releases/v0.1.1)

View File

@ -1,3 +0,0 @@
InvenTree is an open-source Inventory Management System which provides powerful low-level stock control and part tracking.
This App is supplied by TrueCharts, for more information please visit https://truecharts.org

View File

@ -1,6 +1,22 @@
# Changelog
## [inventree-3.0.26](https://github.com/truecharts/apps/compare/inventree-3.0.25...inventree-3.0.26) (2022-07-22)
### Chore
- update docker general non-major ([#3258](https://github.com/truecharts/apps/issues/3258))
## [inventree-3.0.25](https://github.com/truecharts/apps/compare/inventree-3.0.24...inventree-3.0.25) (2022-07-19)
### Chore
- Update Readme and Description on SCALE
## [inventree-3.0.24](https://github.com/truecharts/apps/compare/inventree-3.0.23...inventree-3.0.24) (2022-07-19)
### Fix
@ -81,19 +97,3 @@
#### Chore
* move icons into the apps folder ([#3139](https://github.com/truecharts/apps/issues/3139))
<a name="inventree-3.0.12"></a>
### [inventree-3.0.12](https://github.com/truecharts/apps/compare/inventree-3.0.11...inventree-3.0.12) (2022-07-09)
#### Chore
* update helm general non-major helm releases ([#3113](https://github.com/truecharts/apps/issues/3113))
<a name="inventree-3.0.11"></a>
### [inventree-3.0.11](https://github.com/truecharts/apps/compare/inventree-3.0.10...inventree-3.0.11) (2022-07-05)
#### Chore

View File

@ -9,4 +9,4 @@ dependencies:
repository: https://charts.truecharts.org
version: 3.0.30
digest: sha256:219b167cbd3e6d31f846ea247c9c12c15ece396a62777870f479b331a392bd5d
generated: "2022-07-14T21:25:23.796294528Z"
generated: "2022-07-22T11:47:05.167580386Z"

View File

@ -27,7 +27,7 @@ name: inventree
sources:
- https://inventree.readthedocs.io
- https://github.com/inventree/InvenTree
version: 3.0.24
version: 3.0.26
annotations:
truecharts.org/catagories: |
- utilities

View File

@ -0,0 +1,110 @@
# inventree
![Version: 3.0.26](https://img.shields.io/badge/Version-3.0.26-informational?style=flat-square) ![AppVersion: 0.7.5](https://img.shields.io/badge/AppVersion-0.7.5-informational?style=flat-square)
InvenTree is an open-source Inventory Management System which provides powerful low-level stock control and part tracking.
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
This readme is just an automatically generated general guide on installing our Helm Charts and Apps.
For more information, please click here: [inventree](https://truecharts.org/charts/stable/inventree)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
## Source Code
* <https://inventree.readthedocs.io>
* <https://github.com/inventree/InvenTree>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://charts.truecharts.org/ | postgresql | 8.0.30 |
| https://charts.truecharts.org | redis | 3.0.30 |
| https://library-charts.truecharts.org | common | 10.4.4 |
## Installing the Chart
### TrueNAS SCALE
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/02-Installing-an-App/).
### Helm
To install the chart with the release name `inventree`
```console
helm repo add TrueCharts https://helm.truecharts.org
helm repo update
helm install inventree TrueCharts/inventree
```
## Uninstall
### TrueNAS SCALE
**Upgrading, Rolling Back and Uninstalling the Chart**
To upgrade, rollback or delete this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/04-Upgrade-rollback-delete-an-App/).
### Helm
To uninstall the `inventree` deployment
```console
helm uninstall inventree
```
## Configuration
### Helm
#### Available Settings
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
Other values may be used from the [values.yaml](https://github.com/truecharts/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
#### Configure using the Commandline
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install inventree \
--set env.TZ="America/New York" \
TrueCharts/inventree
```
#### Configure using a yaml file
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install inventree TrueCharts/inventree -f values.yaml
```
#### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our [Linking Apps Internally](https://truecharts.org/manual/Quick-Start%20Guides/06-linking-apps/) quick-start guide.
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/Quick-Start%20Guides/Important-MUST-READ).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can!
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,8 @@
InvenTree is an open-source Inventory Management System which provides powerful low-level stock control and part tracking.
This App is supplied by TrueCharts, for more information visit the manual: https://truecharts.org/charts/stable/inventree
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can!

View File

@ -5,7 +5,7 @@ image:
nginxImage:
repository: tccr.io/truecharts/nginx
tag: v1.23.0@sha256:4545dec2db20dd215a48d03ff65887cd4abae935f6876cd1f8d0d44a3b6ced32
tag: v1.23.1@sha256:dd2e66c3774f076a586835ef0313b1a279bcbc53a76dbcab244fa08a0c251f2d
securityContext:
readOnlyRootFilesystem: false

View File

@ -0,0 +1,99 @@
# Changelog
## [nextcloud-15.2.21](https://github.com/truecharts/apps/compare/nextcloud-15.2.20...nextcloud-15.2.21) (2022-07-22)
### Chore
- update docker general non-major ([#3258](https://github.com/truecharts/apps/issues/3258))
## [nextcloud-15.2.20](https://github.com/truecharts/apps/compare/nextcloud-15.2.19...nextcloud-15.2.20) (2022-07-20)
### Chore
- update docker general non-major ([#3222](https://github.com/truecharts/apps/issues/3222))
## [nextcloud-15.2.19](https://github.com/truecharts/apps/compare/nextcloud-15.2.18...nextcloud-15.2.19) (2022-07-19)
### Chore
- Update Readme and Description on SCALE
## [nextcloud-15.2.18](https://github.com/truecharts/apps/compare/nextcloud-15.2.17...nextcloud-15.2.18) (2022-07-16)
### Chore
- update docker general non-major ([#3192](https://github.com/truecharts/apps/issues/3192))
## [nextcloud-15.2.17](https://github.com/truecharts/apps/compare/nextcloud-15.2.16...nextcloud-15.2.17) (2022-07-15)
### Chore
- update docker general non-major ([#3184](https://github.com/truecharts/apps/issues/3184))
## [nextcloud-15.2.16](https://github.com/truecharts/apps/compare/nextcloud-15.2.15...nextcloud-15.2.16) (2022-07-14)
### Fix
- regenerate catalog and update template
## [nextcloud-15.2.15](https://github.com/truecharts/apps/compare/nextcloud-15.2.13...nextcloud-15.2.15) (2022-07-14)
### Fix
- bump to ensure .helmignore is present on all Charts
## [nextcloud-15.2.13](https://github.com/truecharts/apps/compare/nextcloud-15.2.12...nextcloud-15.2.13) (2022-07-14)
### Chore
- update docker general non-major ([#3171](https://github.com/truecharts/apps/issues/3171))
## [nextcloud-15.2.12](https://github.com/truecharts/apps/compare/nextcloud-15.2.11...nextcloud-15.2.12) (2022-07-13)
### Chore
- update docker general non-major ([#3157](https://github.com/truecharts/apps/issues/3157))
## [nextcloud-15.2.11](https://github.com/truecharts/apps/compare/nextcloud-15.2.9...nextcloud-15.2.11) (2022-07-12)
### Chore
- update icons ([#3156](https://github.com/truecharts/apps/issues/3156))
- bump to cleanup old docs and use correct icon urls
## [nextcloud-15.2.9](https://github.com/truecharts/apps/compare/nextcloud-15.2.8...nextcloud-15.2.9) (2022-07-12)
### Chore
- bump to regenerate documentation
<a name="nextcloud-15.2.8"></a>
### [nextcloud-15.2.8](https://github.com/truecharts/apps/compare/nextcloud-15.2.7...nextcloud-15.2.8) (2022-07-12)
#### Chore
* update helm general non-major helm releases ([#3147](https://github.com/truecharts/apps/issues/3147))
* update docker general non-major ([#3150](https://github.com/truecharts/apps/issues/3150))

View File

@ -0,0 +1,15 @@
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.4.4
- name: postgresql
repository: https://charts.truecharts.org/
version: 8.0.30
- name: collabora-online
repository: https://charts.truecharts.org/
version: 12.1.7
- name: redis
repository: https://charts.truecharts.org
version: 3.0.30
digest: sha256:cf625903899576f31f4925cbad8e3c96ca756a8d69c767d4debecc18fceb5677
generated: "2022-07-22T11:47:30.558679551Z"

View File

@ -0,0 +1,45 @@
apiVersion: v2
appVersion: "24.0.3"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.4.4
- condition: postgresql.enabled
name: postgresql
repository: https://charts.truecharts.org/
version: 8.0.30
- condition: collabora.enabled
name: collabora-online
repository: https://charts.truecharts.org/
version: 12.1.7
- condition: redis.enabled
name: redis
repository: https://charts.truecharts.org
version: 3.0.30
deprecated: false
description: A private cloud server that puts the control and security of your own
data back into your hands.
home: https://github.com/truecharts/apps/tree/master/charts/stable/nextcloud
icon: https://truecharts.org/img/chart-icons/nextcloud.png
keywords:
- nextcloud
- storage
- http
- web
- php
kubeVersion: '>=1.16.0-0'
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: nextcloud
sources:
- https://github.com/nextcloud/docker
- https://github.com/nextcloud/helm
type: application
version: 15.2.21
annotations:
truecharts.org/catagories: |
- cloud
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,111 @@
# nextcloud
![Version: 15.2.21](https://img.shields.io/badge/Version-15.2.21-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 24.0.3](https://img.shields.io/badge/AppVersion-24.0.3-informational?style=flat-square)
A private cloud server that puts the control and security of your own data back into your hands.
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
This readme is just an automatically generated general guide on installing our Helm Charts and Apps.
For more information, please click here: [nextcloud](https://truecharts.org/charts/stable/nextcloud)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
## Source Code
* <https://github.com/nextcloud/docker>
* <https://github.com/nextcloud/helm>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://charts.truecharts.org/ | collabora-online | 12.1.7 |
| https://charts.truecharts.org/ | postgresql | 8.0.30 |
| https://charts.truecharts.org | redis | 3.0.30 |
| https://library-charts.truecharts.org | common | 10.4.4 |
## Installing the Chart
### TrueNAS SCALE
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/02-Installing-an-App/).
### Helm
To install the chart with the release name `nextcloud`
```console
helm repo add TrueCharts https://helm.truecharts.org
helm repo update
helm install nextcloud TrueCharts/nextcloud
```
## Uninstall
### TrueNAS SCALE
**Upgrading, Rolling Back and Uninstalling the Chart**
To upgrade, rollback or delete this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/04-Upgrade-rollback-delete-an-App/).
### Helm
To uninstall the `nextcloud` deployment
```console
helm uninstall nextcloud
```
## Configuration
### Helm
#### Available Settings
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
Other values may be used from the [values.yaml](https://github.com/truecharts/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
#### Configure using the Commandline
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install nextcloud \
--set env.TZ="America/New York" \
TrueCharts/nextcloud
```
#### Configure using a yaml file
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install nextcloud TrueCharts/nextcloud -f values.yaml
```
#### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our [Linking Apps Internally](https://truecharts.org/manual/Quick-Start%20Guides/06-linking-apps/) quick-start guide.
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/Quick-Start%20Guides/Important-MUST-READ).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can!
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,8 @@
A private cloud server that puts the control and security of your own data back into your hands.
This App is supplied by TrueCharts, for more information visit the manual: https://truecharts.org/charts/stable/nextcloud
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can!

View File

@ -0,0 +1,11 @@
env:
# IP used for exposing nextcloud
# Often the service or nodePort IP
AccessIP: "127.0.0.1"
service:
main:
ports:
main:
port: 8080
targetPort: 8080

View File

@ -0,0 +1,423 @@
image:
repository: tccr.io/truecharts/nextcloud-fpm
pullPolicy: IfNotPresent
tag: v24.0.3@sha256:7d0cd04aca7d17fdf57b0d883f519c7caefaeefd5724480885ad2fb098a25a1e
nginxImage:
repository: tccr.io/truecharts/nginx-unprivileged
pullPolicy: IfNotPresent
tag: v1.23.0@sha256:19c70438611219b20c1b75e528b7b04baed6ecefdef3a58baf971d01c4138121
imaginaryImage:
repository: h2non/imaginary
pullPolicy: IfNotPresent
tag: 1.2.4@sha256:7facb4221047a5e79b9e902f380247f4e5bf4376400d0badbeb738d3e1c2f654
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
fsGroup: 33
service:
main:
ports:
main:
port: 10020
targetPort: 8080
backend:
enabled: true
ports:
hpb:
enabled: true
port: 7867
targetPort: 7867
hpb-metrics:
enabled: true
port: 7868
targetPort: 7868
fpm:
enabled: true
port: 9000
targetPort: 9000
imaginary:
enabled: true
port: 9090
targetPort: 9090
hostAliases:
- ip: '{{ .Values.env.AccessIP | default "127.0.0.1" }}'
hostnames:
- "{{ if .Values.ingress.main.enabled }}{{ with (first .Values.ingress.main.hosts) }}{{ .host }}{{ end }}{{ else }}placeholder.fakedomain.dns{{ end }}"
secretEnv:
NEXTCLOUD_ADMIN_USER: "admin"
NEXTCLOUD_ADMIN_PASSWORD: "adminpass"
probes:
liveness:
custom: true
spec:
initialDelaySeconds: 25
httpGet:
path: /status.php
port: 8080
httpHeaders:
- name: Host
value: "test.fakedomain.dns"
readiness:
custom: true
spec:
initialDelaySeconds: 25
httpGet:
path: /status.php
port: 8080
httpHeaders:
- name: Host
value: "test.fakedomain.dns"
startup:
custom: true
spec:
initialDelaySeconds: 25
httpGet:
path: /status.php
port: 8080
httpHeaders:
- name: Host
value: "test.fakedomain.dns"
initContainers:
prestart:
image: '{{ include "tc.common.images.selector" . }}'
securityContext:
runAsUser: 0
runAsGroup: 0
privileged: true
command:
- "/bin/sh"
- "-c"
- |
/bin/bash <<'EOF'
if [[ -f /data/config/config.php ]] && [[ ! -f /html/config/config.php ]]; then
echo "migrating from single to dual PVC's..."
echo "moving to placeholder location..."
mv -f /var/www/html/data/* /var/www/html/data/tomigrate/
echo "moving userdata to data-pvc root..."
mv -f /var/www/html/data/tomigrate/data/* /var/www/html/data/
echo "removing old data folder..."
rm -rf /var/www/html/data/tomigrate/data
echo "moving config, apps, templates and other content to html-pvc root..."
mv -f /var/www/html/data/tomigrate/* /var/www/html/
echo "Removing migration temporary folder..."
rm -rf /var/www/html/data/tomigrate
fi
echo "Enforcing chmod 770 on data-dir..."
chmod 770 /var/www/html/data
echo "Migrating old data when found..."
EOF
volumeMounts:
- name: data
mountPath: "/var/www/html/data"
- name: html
mountPath: "/var/www/html"
env:
# IP used for exposing nextcloud
# Often the service or nodePort IP
# Defaults to the main serviceName for CI purposes.
AccessIP:
NEXTCLOUD_INIT_HTACCESS: true
PHP_INI_MEMORY_LIMIT: 1G
PHP_UPLOAD_LIMIT: 10G
NEXTCLOUD_CHUNKSIZE: "31457280"
TRUSTED_PROXIES: "172.16.0.0/16 127.0.0.1"
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
POSTGRES_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
POSTGRES_HOST:
secretKeyRef:
name: dbcreds
key: plainporthost
REDIS_HOST:
secretKeyRef:
name: rediscreds
key: plainhost
REDIS_HOST_PASSWORD:
secretKeyRef:
name: rediscreds
key: redis-password
envFrom:
- configMapRef:
name: nextcloudconfig
persistence:
html:
enabled: true
mountPath: "/var/www/html"
data:
enabled: true
mountPath: "/var/www/html/data"
varrun:
enabled: true
cache:
enabled: true
type: emptyDir
mountPath: /var/cache/nginx
medium: Memory
nginx:
enabled: "true"
mountPath: "/etc/nginx"
noMount: true
readOnly: true
type: "custom"
volumeSpec:
configMap:
name: '{{ include "tc.common.names.fullname" . }}-nginx'
items:
- key: nginx.conf
path: nginx.conf
configmap:
nginx:
enabled: true
data:
nginx.conf: |-
worker_processes auto;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
# Prevent nginx HTTP Server Detection
server_tokens off;
keepalive_timeout 65;
#gzip on;
upstream php-handler {
server 127.0.0.1:9000;
}
server {
listen 8080;
absolute_redirect off;
# Forward Notify_Push "High Performance Backend" to it's own container
location ^~ /push/ {
proxy_pass http://127.0.0.1:7867/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
# HSTS settings
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;
# set max upload size
client_max_body_size 512M;
fastcgi_buffers 64 4K;
# Enable gzip but do not remove ETag headers
gzip on;
gzip_vary on;
gzip_comp_level 4;
gzip_min_length 256;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
# Pagespeed is not supported by Nextcloud, so if your server is built
# with the `ngx_pagespeed` module, uncomment this line to disable it.
#pagespeed off;
# HTTP response headers borrowed from Nextcloud `.htaccess`
add_header Referrer-Policy "no-referrer" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Download-Options "noopen" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header X-Robots-Tag "none" always;
add_header X-XSS-Protection "1; mode=block" always;
# Remove X-Powered-By, which is an information leak
fastcgi_hide_header X-Powered-By;
# Path to the root of your installation
root /var/www/html;
# Specify how to handle directories -- specifying `/index.php$request_uri`
# here as the fallback means that Nginx always exhibits the desired behaviour
# when a client requests a path that corresponds to a directory that exists
# on the server. In particular, if that directory contains an index.php file,
# that file is correctly served; if it doesn't, then the request is passed to
# the front-end controller. This consistent behaviour means that we don't need
# to specify custom rules for certain paths (e.g. images and other assets,
# `/updater`, `/ocm-provider`, `/ocs-provider`), and thus
# `try_files $uri $uri/ /index.php$request_uri`
# always provides the desired behaviour.
index index.php index.html /index.php$request_uri;
# Rule borrowed from `.htaccess` to handle Microsoft DAV clients
location = / {
if ( $http_user_agent ~ ^DavClnt ) {
return 302 /remote.php/webdav/$is_args$args;
}
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# Make a regex exception for `/.well-known` so that clients can still
# access it despite the existence of the regex rule
# `location ~ /(\.|autotest|...)` which would otherwise handle requests
# for `/.well-known`.
location ^~ /.well-known {
# The rules in this block are an adaptation of the rules
# in `.htaccess` that concern `/.well-known`.
location = /.well-known/carddav { return 301 /remote.php/dav/; }
location = /.well-known/caldav { return 301 /remote.php/dav/; }
# according to the documentation these two lines are not necessary, but some users are still recieving errors
location = /.well-known/webfinger { return 301 /index.php$uri; }
location = /.well-known/nodeinfo { return 301 /index.php$uri; }
location /.well-known/acme-challenge { try_files $uri $uri/ =404; }
location /.well-known/pki-validation { try_files $uri $uri/ =404; }
# Let Nextcloud's API for `/.well-known` URIs handle all other
# requests by passing them to the front-end controller.
return 301 /index.php$request_uri;
}
# Rules borrowed from `.htaccess` to hide certain paths from clients
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)(?:$|/) { return 404; }
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) { return 404; }
# Ensure this block, which passes PHP files to the PHP process, is above the blocks
# which handle static assets (as seen below). If this block is not declared first,
# then Nginx will encounter an infinite rewriting loop when it prepends `/index.php`
# to the URI, resulting in a HTTP 500 error response.
location ~ \.php(?:$|/) {
# Required for legacy support
rewrite ^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy) /index.php$request_uri;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
set $path_info $fastcgi_path_info;
try_files $fastcgi_script_name =404;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $path_info;
#fastcgi_param HTTPS on;
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
fastcgi_param front_controller_active true; # Enable pretty urls
fastcgi_pass php-handler;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
proxy_send_timeout 300s;
proxy_read_timeout 300s;
fastcgi_send_timeout 300s;
fastcgi_read_timeout 300s;
}
location ~ \.(?:css|js|svg|gif)$ {
try_files $uri /index.php$request_uri;
expires 6M; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets
}
location ~ \.woff2?$ {
try_files $uri /index.php$request_uri;
expires 7d; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets
}
# Rule borrowed from `.htaccess`
location /remote {
return 301 /remote.php$request_uri;
}
location / {
try_files $uri $uri/ /index.php$request_uri;
}
}
}
cronjob:
enabled: true
generatePreviews: true
schedule: "*/5 * * * *"
annotations: {}
failedJobsHistoryLimit: 5
successfulJobsHistoryLimit: 2
hpb:
enabled: true
imaginary:
enabled: true
collabora:
enabled: false
env:
aliasgroup1:
configMapRef:
name: nextcloudconfig
key: aliasgroup1
dictionaries: "de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru"
extra_params: "--o:welcome.enable=false --o:logging.level=information --o:user_interface.mode=notebookbar --o:ssl.termination=true --o:ssl.enable=false "
server_name: ""
DONT_GEN_SSL_CERT: true
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: nextcloud
postgresqlDatabase: nextcloud
redis:
enabled: true
existingSecret: "rediscreds"

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,36 @@
{{/* Define the configmap */}}
{{- define "nextcloud.configmap" -}}
{{- $hosts := "" }}
{{- if .Values.ingress.main.enabled }}
{{- range .Values.ingress }}
{{- range $index, $host := .hosts }}
{{- if $index }}
{{ $hosts = ( printf "%v %v" $hosts $host.host ) }}
{{- else }}
{{ $hosts = ( printf "%s" $host.host ) }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: nextcloudconfig
data:
{{- $aliasgroup1 := ( printf "http://%s" ( .Values.env.AccessIP | default ( printf "%v-%v" .Release.Name "nextcloud" ) ) ) }}
{{- if .Values.ingress.main.enabled }}
{{- with (first .Values.ingress.main.hosts) }}
{{- $aliasgroup1 = ( printf "https://%s" .host ) }}
{{- end }}
{{- end }}
aliasgroup1: {{ $aliasgroup1 }}
NEXTCLOUD_TRUSTED_DOMAINS: {{ ( printf "%v %v %v %v %v %v %v %v" "test.fakedomain.dns" "localhost" "127.0.0.1" ( printf "%v:%v" "127.0.0.1" .Values.service.main.ports.main.port ) ( .Values.env.AccessIP | default "localhost" ) ( printf "%v-%v" .Release.Name "nextcloud" ) ( printf "%v-%v" .Release.Name "nextcloud-backend" ) $hosts ) | quote }}
{{- if .Values.ingress.main.enabled }}
APACHE_DISABLE_REWRITE_IP: "1"
{{- end }}
{{- end -}}

View File

@ -0,0 +1,64 @@
{{/* Define the cronjob */}}
{{- define "nextcloud.cronjob" -}}
{{- if .Values.cronjob.enabled -}}
{{- $jobName := include "tc.common.names.fullname" . }}
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ printf "%s-cronjob" $jobName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
spec:
schedule: "{{ .Values.cronjob.schedule }}"
concurrencyPolicy: Forbid
{{- with .Values.cronjob.failedJobsHistoryLimit }}
failedJobsHistoryLimit: {{ . }}
{{- end }}
{{- with .Values.cronjob.successfulJobsHistoryLimit }}
successfulJobsHistoryLimit: {{ . }}
{{- end }}
jobTemplate:
metadata:
spec:
template:
metadata:
spec:
restartPolicy: Never
{{- with (include "tc.common.controller.volumes" . | trim) }}
volumes:
{{- nindent 12 . }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: '{{ include "tc.common.images.selector" . }}'
imagePullPolicy: {{ default .Values.image.pullPolicy }}
command:
- "/bin/sh"
- "-c"
- |
/bin/bash <<'EOF'
echo "running nextcloud cronjob..."
php -f /var/www/html/cron.php
echo "cronjob finished"
{{- if .Values.cronjob.generatePreviews }}
echo "Pre-generating Previews..."
php /var/www/html/occ preview:pre-generate
echo "Previews generated."
{{- end }}
EOF
# Will mount configuration files as www-data (id: 33) by default for nextcloud
{{- with (include "tc.common.controller.volumeMounts" . | trim) }}
volumeMounts:
{{ nindent 16 . }}
{{- end }}
securityContext:
runAsUser: 33
runAsGroup: 33
readOnlyRootFilesystem: true
runAsNonRoot: true
resources:
{{ toYaml .Values.resources | indent 16 }}
{{- end -}}
{{- end -}}

View File

@ -0,0 +1,133 @@
{{/* Define the hbp container */}}
{{- define "nextcloud.hpb" -}}
{{- $jobName := include "tc.common.names.fullname" . }}
image: '{{ include "tc.common.images.selector" . }}'
imagePullPolicy: '{{ .Values.image.pullPolicy }}'
securityContext:
runAsUser: 33
runAsGroup: 33
readOnlyRootFilesystem: true
runAsNonRoot: true
{{- with (include "tc.common.controller.volumeMounts" . | trim) }}
volumeMounts:
{{ nindent 2 . }}
{{- end }}
ports:
- containerPort: 7867
readinessProbe:
httpGet:
path: /push/test/cookie
port: 7867
httpHeaders:
- name: Host
value: "test.fakedomain.dns"
initialDelaySeconds: {{ .Values.probes.readiness.spec.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.spec.periodSeconds }}
timeoutSeconds: {{ .Values.probes.readiness.spec.timeoutSeconds }}
failureThreshold: {{ .Values.probes.readiness.spec.failureThreshold }}
livenessProbe:
httpGet:
path: /push/test/cookie
port: 7867
httpHeaders:
- name: Host
value: "test.fakedomain.dns"
initialDelaySeconds: {{ .Values.probes.liveness.spec.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.spec.periodSeconds }}
timeoutSeconds: {{ .Values.probes.liveness.spec.timeoutSeconds }}
failureThreshold: {{ .Values.probes.liveness.spec.failureThreshold }}
startupProbe:
httpGet:
path: /push/test/cookie
port: 7867
httpHeaders:
- name: Host
value: "test.fakedomain.dns"
initialDelaySeconds: {{ .Values.probes.startup.spec.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.startup.spec.periodSeconds }}
timeoutSeconds: {{ .Values.probes.startup.spec.timeoutSeconds }}
failureThreshold: {{ .Values.probes.startup.spec.failureThreshold }}
command:
- "/bin/sh"
- "-c"
- |
/bin/bash <<'EOF'
set -m
echo "Waiting for notify_push file to be available..."
until [ -f /var/www/html/custom_apps/notify_push/bin/x86_64/notify_push ]
do
sleep 10
echo "Notify_push not found... waiting..."
done
echo "Waiting for Nextcloud to start..."
until $(curl --output /dev/null --silent --head --fail -H "Host: test.fakedomain.dns" http://127.0.0.1:8080/status.php); do
echo "Nextcloud not found... waiting..."
sleep 10
done
until $(curl --silent --fail -H "Host: test.fakedomain.dns" http://127.0.0.1:8080/status.php | jq --raw-output '.installed' | grep "true"); do
echo "Nextcloud not installed... waiting..."
sleep 10
done
echo "Nextcloud instance with Notify_push found... Launching High Performance Backend..."
/var/www/html/custom_apps/notify_push/bin/x86_64/notify_push /var/www/html/config/config.php &
{{- if .Values.imaginary.enabled }}
echo "Imaginary High Performance Previews enabled, enabling it on Nextcloud..."
php /var/www/html/occ config:system:set enabledPreviewProviders 6 --value='OC\Preview\Imaginary'
php /var/www/html/occ config:system:set preview_imaginary_url --value='http://127.0.0.1:9090'
{{- end }}
until $(curl --output /dev/null --silent --head --fail -H "Host: test.fakedomain.dns" http://127.0.0.1:7867/push/test/cookie); do
echo "High Performance Backend not running ... waiting..."
sleep 10
done
{{- $accessurl := ( printf "http://%v:%v" ( .Values.env.AccessIP | default ( printf "%v-%v" .Release.Name "nextcloud" ) ) .Values.service.main.ports.main.port ) }}
{{- if .Values.ingress.main.enabled }}
{{- with (first .Values.ingress.main.hosts) }}
{{- $accessurl = ( printf "https://%s" .host ) }}
{{- end }}
{{- end }}
until $(curl --output /dev/null --silent --head --fail {{ $accessurl }}/push/test/cookie); do
echo "High Performance Backend service not accessable ... waiting..."
sleep 10
done
echo "High Performance Backend found..."
echo "Configuring High Performance Backend for url: {{ $accessurl }}"
php /var/www/html/occ notify_push:setup {{ $accessurl }}/push
fg
EOF
env:
- name: NEXTCLOUD_URL
value: 'http://127.0.0.1:8080'
- name: METRICS_PORT
value: '7868'
- name: TRUSTED_PROXIES
value: "{{ .Values.env.TRUSTED_PROXIES }}"
- name: POSTGRES_DB
value: "{{ .Values.postgresql.postgresqlDatabase }}"
- name: POSTGRES_USER
value: "{{ .Values.postgresql.postgresqlUsername }}"
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: dbcreds
key: postgresql-password
- name: POSTGRES_HOST
valueFrom:
secretKeyRef:
name: dbcreds
key: plainporthost
- name: REDIS_HOST
valueFrom:
secretKeyRef:
name: rediscreds
key: plainhost
- name: REDIS_HOST_PASSWORD
valueFrom:
secretKeyRef:
name: rediscreds
key: redis-password
envFrom:
- configMapRef:
name: nextcloudconfig
{{- end -}}

View File

@ -0,0 +1,40 @@
{{/* Define the imaginary container */}}
{{- define "nextcloud.imaginary" -}}
image: {{ .Values.imaginaryImage.repository }}:{{ .Values.imaginaryImage.tag }}
imagePullPolicy: '{{ .Values.image.pullPolicy }}'
securityContext:
runAsUser: 33
runAsGroup: 33
readOnlyRootFilesystem: true
runAsNonRoot: true
ports:
- containerPort: 9090
args: ["-enable-url-source"]
env:
- name: 'PORT'
value: '9090'
readinessProbe:
httpGet:
path: /
port: 9090
initialDelaySeconds: {{ .Values.probes.readiness.spec.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.spec.periodSeconds }}
timeoutSeconds: {{ .Values.probes.readiness.spec.timeoutSeconds }}
failureThreshold: {{ .Values.probes.readiness.spec.failureThreshold }}
livenessProbe:
httpGet:
path: /
port: 9090
initialDelaySeconds: {{ .Values.probes.liveness.spec.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.spec.periodSeconds }}
timeoutSeconds: {{ .Values.probes.liveness.spec.timeoutSeconds }}
failureThreshold: {{ .Values.probes.liveness.spec.failureThreshold }}
startupProbe:
httpGet:
path: /
port: 9090
initialDelaySeconds: {{ .Values.probes.startup.spec.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.startup.spec.periodSeconds }}
timeoutSeconds: {{ .Values.probes.startup.spec.timeoutSeconds }}
failureThreshold: {{ .Values.probes.startup.spec.failureThreshold }}
{{- end -}}

View File

@ -0,0 +1,54 @@
{{/* Define the nginx container */}}
{{- define "nextcloud.nginx" -}}
image: {{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}
imagePullPolicy: '{{ .Values.image.pullPolicy }}'
securityContext:
runAsUser: 33
runAsGroup: 33
readOnlyRootFilesystem: true
runAsNonRoot: true
{{- with (include "tc.common.controller.volumeMounts" . | trim) }}
volumeMounts:
{{ nindent 2 . }}
{{- end }}
- mountPath: /etc/nginx/nginx.conf
name: nginx
readOnly: true
subPath: nginx.conf
ports:
- containerPort: 8080
readinessProbe:
httpGet:
path: /robots.txt
port: 8080
httpHeaders:
- name: Host
value: "test.fakedomain.dns"
initialDelaySeconds: {{ .Values.probes.readiness.spec.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.spec.periodSeconds }}
timeoutSeconds: {{ .Values.probes.readiness.spec.timeoutSeconds }}
failureThreshold: {{ .Values.probes.readiness.spec.failureThreshold }}
livenessProbe:
httpGet:
path: /robots.txt
port: 8080
httpHeaders:
- name: Host
value: "test.fakedomain.dns"
initialDelaySeconds: {{ .Values.probes.liveness.spec.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.spec.periodSeconds }}
timeoutSeconds: {{ .Values.probes.liveness.spec.timeoutSeconds }}
failureThreshold: {{ .Values.probes.liveness.spec.failureThreshold }}
startupProbe:
httpGet:
path: /robots.txt
port: 8080
httpHeaders:
- name: Host
value: "test.fakedomain.dns"
initialDelaySeconds: {{ .Values.probes.startup.spec.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.startup.spec.periodSeconds }}
timeoutSeconds: {{ .Values.probes.startup.spec.timeoutSeconds }}
failureThreshold: {{ .Values.probes.startup.spec.failureThreshold }}
{{- end -}}

View File

@ -0,0 +1,22 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{/* Render configmap for nextcloud */}}
{{- include "nextcloud.configmap" . }}
{{- $newMiddlewares := append .Values.ingress.main.fixedMiddlewares "tc-nextcloud-chain" }}
{{- $_ := set .Values.ingress.main "fixedMiddlewares" $newMiddlewares -}}
{{- $_ := set .Values.additionalContainers "nginx" (include "nextcloud.nginx" . | fromYaml) -}}
{{- if .Values.imaginary.enabled -}}
{{- $_ := set .Values.additionalContainers "imaginary" (include "nextcloud.imaginary" . | fromYaml) -}}
{{- end -}}
{{- if .Values.hpb.enabled -}}
{{- $_ := set .Values.additionalContainers "hpb" (include "nextcloud.hpb" . | fromYaml) -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}
{{/* Render cronjob for nextcloud */}}
{{- include "nextcloud.cronjob" . }}

Some files were not shown because too many files have changed in this diff Show More