Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-11-15 16:25:29 +00:00
parent 0ccda0fb01
commit d5cdf718cc
100 changed files with 6972 additions and 60 deletions

View File

@ -1,9 +0,0 @@
## [clickhouse-3.0.0](https://github.com/truecharts/charts/compare/clickhouse-2.0.5...clickhouse-3.0.0) (2022-11-14)
### Chore
- update helm chart common to v11 ([#4420](https://github.com/truecharts/charts/issues/4420))

View File

@ -23,7 +23,7 @@ sources:
- https://clickhouse.com/
- https://hub.docker.com/r/yandex/clickhouse-server
type: application
version: 3.0.0
version: 3.0.1
annotations:
truecharts.org/catagories: |
- database

View File

@ -0,0 +1,9 @@
## [clickhouse-3.0.1](https://github.com/truecharts/charts/compare/clickhouse-3.0.0...clickhouse-3.0.1) (2022-11-15)
### Chore
- some tryouts ([#4439](https://github.com/truecharts/charts/issues/4439))

View File

@ -0,0 +1,99 @@
**Important:**
*for the complete changelog, please refer to the website*
## [collabora-online-12.1.75](https://github.com/truecharts/charts/compare/collabora-online-12.1.74...collabora-online-12.1.75) (2022-11-09)
### Chore
- update helm chart common to v10.9.5
## [collabora-online-12.1.74](https://github.com/truecharts/charts/compare/collabora-online-12.1.73...collabora-online-12.1.74) (2022-11-08)
### Chore
- update helm chart common to v10.9.4
## [collabora-online-12.1.73](https://github.com/truecharts/charts/compare/collabora-online-12.1.72...collabora-online-12.1.73) (2022-11-08)
### Chore
- update helm chart common to v10.9.3 ([#4348](https://github.com/truecharts/charts/issues/4348))
## [collabora-online-12.1.72](https://github.com/truecharts/charts/compare/collabora-online-12.1.71...collabora-online-12.1.72) (2022-11-07)
### Chore
- update helm chart common to v10.9.1 ([#4339](https://github.com/truecharts/charts/issues/4339))
## [collabora-online-12.1.71](https://github.com/truecharts/charts/compare/collabora-online-12.1.70...collabora-online-12.1.71) (2022-11-07)
### Chore
- update helm chart common to v10.9.0 ([#4337](https://github.com/truecharts/charts/issues/4337))
## [collabora-online-12.1.70](https://github.com/truecharts/charts/compare/collabora-online-12.1.69...collabora-online-12.1.70) (2022-11-06)
### Chore
- Auto-update chart README [skip ci]
- update helm chart common to v10.8.1 ([#4326](https://github.com/truecharts/charts/issues/4326))
## [collabora-online-12.1.69](https://github.com/truecharts/charts/compare/collabora-online-12.1.67...collabora-online-12.1.69) (2022-11-05)
### Chore
- Auto-update chart README [skip ci]
- update helm chart common to v10.8.0 ([#4305](https://github.com/truecharts/charts/issues/4305))
- update helm chart common to v10.7.19 ([#4305](https://github.com/truecharts/charts/issues/4305))
## [memcached-3.0.113](https://github.com/truecharts/charts/compare/memcached-3.0.112...memcached-3.0.113) (2022-11-04)
### Chore
- Auto-update chart README [skip ci]
- update helm chart common to v10.7.15
## [redis-3.0.113](https://github.com/truecharts/charts/compare/redis-3.0.112...redis-3.0.113) (2022-11-04)
### Chore
- Auto-update chart README [skip ci]
- update docker general non-major ([#4293](https://github.com/truecharts/charts/issues/4293))
## [redis-3.0.112](https://github.com/truecharts/charts/compare/redisinsight-0.0.35...redis-3.0.112) (2022-11-03)
### Chore
- update helm chart common to v10.7.14

View File

@ -0,0 +1,32 @@
apiVersion: v2
appVersion: "22.05.8.2"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.0.0
deprecated: false
description: "An awesome Online Office suite."
home: https://truecharts.org/docs/charts/dependency/collabora-online
icon: https://truecharts.org/img/hotlink-ok/chart-icons/collabora-online.png
keywords:
- collabora-online
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: collabora-online
sources:
- https://github.com/truecharts/charts/tree/master/charts/dependency/collabora-online
- https://hub.docker.com/r/collabora/code
- https://sdk.collaboraonline.com/contents.html
- https://github.com/CollaboraOnline/online/tree/master/kubernetes/helm
type: application
version: 14.0.1
annotations:
truecharts.org/catagories: |
- office
- documents
- productivity
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,108 @@
# collabora-online
An awesome Online Office suite.
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: [collabora-online](https://truecharts.org/docs/charts/dependency/collabora-online)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Source Code
* <https://github.com/truecharts/charts/tree/master/charts/dependency/collabora-online>
* <https://hub.docker.com/r/collabora/code>
* <https://sdk.collaboraonline.com/contents.html>
* <https://github.com/CollaboraOnline/online/tree/master/kubernetes/helm>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.truecharts.org | common | 10.9.5 |
## Installing the Chart
### TrueNAS SCALE
To install this Chart on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Installing-an-App).
### Helm
To install the chart with the release name `collabora-online`
```console
helm repo add TrueCharts https://charts.truecharts.org
helm repo update
helm install collabora-online TrueCharts/collabora-online
```
## Uninstall
### TrueNAS SCALE
**Upgrading, Rolling Back and Uninstalling the Chart**
To upgrade, rollback or delete this Chart from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Upgrade-rollback-delete-an-App).
### Helm
To uninstall the `collabora-online` deployment
```console
helm uninstall collabora-online
```
## Configuration
### Helm
#### Available Settings
Read through the 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/truecharts/library-charts/tree/main/charts/common).
#### Configure using the command line
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install collabora-online \
--set env.TZ="America/New York" \
TrueCharts/collabora-online
```
#### 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 collabora-online TrueCharts/collabora-online -f values.yaml
```
#### Connecting to other charts
If you need to connect this Chart to other Charts on TrueNAS SCALE, please refer to our [Linking Charts Internally](https://truecharts.org/docs/manual/SCALE%20Apps/linking-apps) quick-start guide.
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/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/sponsor) or contributing back to the project any way you can!
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,9 @@
## [collabora-online-14.0.1](https://github.com/truecharts/charts/compare/collabora-online-14.0.0...collabora-online-14.0.1) (2022-11-15)
### Chore
- some tryouts ([#4439](https://github.com/truecharts/charts/issues/4439))

View File

@ -0,0 +1,8 @@
An awesome Online Office suite.
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/dependency/collabora-online](https://truecharts.org/docs/charts/dependency/collabora-online)
---
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,54 @@
image:
repository: tccr.io/truecharts/collabora
tag: 22.05.8.2.1@sha256:6102c636dc5304a5336af5c83b50bda521ed4afd3f3b295eed8a754aab09e3ba
pullPolicy: IfNotPresent
controller:
# -- Set the controller type.
# Valid options are deployment, daemonset or statefulset
type: statefulset
# -- Number of desired pods
replicas: 1
# -- Set the controller upgrade strategy
# For Deployments, valid values are Recreate (default) and RollingUpdate.
# For StatefulSets, valid values are OnDelete and RollingUpdate (default).
# DaemonSets ignore this.
strategy: RollingUpdate
rollingUpdate:
# -- Set deployment RollingUpdate max unavailable
unavailable: 1
# -- Set deployment RollingUpdate max surge
surge:
# -- Set statefulset RollingUpdate partition
partition:
# -- ReplicaSet revision history limit
revisionHistoryLimit: 3
securityContext:
readOnlyRootFilesystem: false
allowPrivilegeEscalation: true
podSecurityContext:
runAsUser: 104
runAsGroup: 106
service:
main:
ports:
main:
port: 10105
targetPort: 9980
secretEnv:
username: ""
password: ""
env:
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: "collabora.domain.tld"
DONT_GEN_SSL_CERT: true
portal:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
{{ include "tc.common.loader.all" . }}

View File

@ -1,9 +0,0 @@
## [memcached-5.0.1](https://github.com/truecharts/charts/compare/memcached-5.0.0...memcached-5.0.1) (2022-11-15)
### Chore
- update container image tccr.io/truecharts/memcached to 1.6.17 ([#4443](https://github.com/truecharts/charts/issues/4443))

View File

@ -23,7 +23,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-memcached
- http://memcached.org/
type: application
version: 5.0.1
version: 5.0.2
annotations:
truecharts.org/catagories: |
- database

View File

@ -0,0 +1,9 @@
## [memcached-5.0.2](https://github.com/truecharts/charts/compare/memcached-5.0.1...memcached-5.0.2) (2022-11-15)
### Chore
- some tryouts ([#4439](https://github.com/truecharts/charts/issues/4439))

View File

@ -1,9 +0,0 @@
## [mongodb-4.0.0](https://github.com/truecharts/charts/compare/mongodb-3.0.6...mongodb-4.0.0) (2022-11-14)
### Chore
- update helm chart common to v11 ([#4420](https://github.com/truecharts/charts/issues/4420))

View File

@ -24,7 +24,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-mongodb
- https://www.mongodb.com
type: application
version: 4.0.0
version: 4.0.1
annotations:
truecharts.org/catagories: |
- database

View File

@ -0,0 +1,9 @@
## [mongodb-4.0.1](https://github.com/truecharts/charts/compare/mongodb-4.0.0...mongodb-4.0.1) (2022-11-15)
### Chore
- some tryouts ([#4439](https://github.com/truecharts/charts/issues/4439))

View File

@ -0,0 +1,99 @@
**Important:**
*for the complete changelog, please refer to the website*
## [postgresql-9.0.0](https://github.com/truecharts/charts/compare/postgresql-8.0.124...postgresql-9.0.0) (2022-11-10)
### Chore
- Major Change to GUI
## [postgresql-8.0.124](https://github.com/truecharts/charts/compare/postgresql-8.0.123...postgresql-8.0.124) (2022-11-09)
### Chore
- update helm chart common to v10.9.5
## [postgresql-8.0.123](https://github.com/truecharts/charts/compare/postgresql-8.0.122...postgresql-8.0.123) (2022-11-08)
### Chore
- update helm chart common to v10.9.4
## [postgresql-8.0.122](https://github.com/truecharts/charts/compare/postgresql-8.0.121...postgresql-8.0.122) (2022-11-08)
### Chore
- update helm chart common to v10.9.3 ([#4348](https://github.com/truecharts/charts/issues/4348))
## [postgresql-8.0.121](https://github.com/truecharts/charts/compare/postgresql-8.0.120...postgresql-8.0.121) (2022-11-07)
### Chore
- update helm chart common to v10.9.1 ([#4339](https://github.com/truecharts/charts/issues/4339))
## [postgresql-8.0.120](https://github.com/truecharts/charts/compare/postgresql-8.0.119...postgresql-8.0.120) (2022-11-07)
### Chore
- update helm chart common to v10.9.0 ([#4337](https://github.com/truecharts/charts/issues/4337))
## [postgresql-8.0.119](https://github.com/truecharts/charts/compare/postgresql-8.0.118...postgresql-8.0.119) (2022-11-06)
### Chore
- Auto-update chart README [skip ci]
- update helm chart common to v10.8.1 ([#4326](https://github.com/truecharts/charts/issues/4326))
## [postgresql-8.0.118](https://github.com/truecharts/charts/compare/postgresql-8.0.116...postgresql-8.0.118) (2022-11-05)
### Chore
- Auto-update chart README [skip ci]
- update helm chart common to v10.8.0 ([#4305](https://github.com/truecharts/charts/issues/4305))
- update helm chart common to v10.7.19 ([#4305](https://github.com/truecharts/charts/issues/4305))
## [postgresql-8.0.116](https://github.com/truecharts/charts/compare/postgresql-8.0.115...postgresql-8.0.116) (2022-11-04)
### Chore
- Auto-update chart README [skip ci]
- update helm chart common to v10.7.15
## [postgresql-8.0.115](https://github.com/truecharts/charts/compare/postgresql-8.0.114...postgresql-8.0.115) (2022-11-03)
### Chore
- Auto-update chart README [skip ci]
- update helm chart common to v10.7.14

View File

@ -0,0 +1,31 @@
apiVersion: v2
appVersion: "14.5.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.0.0
deprecated: false
description: PostgresSQL
home: https://truecharts.org/docs/charts/dependency/postgresql
icon: https://truecharts.org/img/hotlink-ok/chart-icons/postgresql.png
keywords:
- postgres
- postgressql
- dtabase
- sql
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: postgresql
sources:
- https://github.com/truecharts/charts/tree/master/charts/dependency/postgresql
- https://www.postgresql.org/
type: application
version: 10.0.1
annotations:
truecharts.org/catagories: |
- database
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,106 @@
# postgresql
PostgresSQL
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: [postgresql](https://truecharts.org/docs/charts/dependency/postgresql)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Source Code
* <https://github.com/truecharts/charts/tree/master/charts/dependency/postgresql>
* <https://www.postgresql.org/>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.truecharts.org | common | 10.9.5 |
## Installing the Chart
### TrueNAS SCALE
To install this Chart on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Installing-an-App).
### Helm
To install the chart with the release name `postgresql`
```console
helm repo add TrueCharts https://charts.truecharts.org
helm repo update
helm install postgresql TrueCharts/postgresql
```
## Uninstall
### TrueNAS SCALE
**Upgrading, Rolling Back and Uninstalling the Chart**
To upgrade, rollback or delete this Chart from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Upgrade-rollback-delete-an-App).
### Helm
To uninstall the `postgresql` deployment
```console
helm uninstall postgresql
```
## Configuration
### Helm
#### Available Settings
Read through the 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/truecharts/library-charts/tree/main/charts/common).
#### Configure using the command line
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install postgresql \
--set env.TZ="America/New York" \
TrueCharts/postgresql
```
#### 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 postgresql TrueCharts/postgresql -f values.yaml
```
#### Connecting to other charts
If you need to connect this Chart to other Charts on TrueNAS SCALE, please refer to our [Linking Charts Internally](https://truecharts.org/docs/manual/SCALE%20Apps/linking-apps) quick-start guide.
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/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/sponsor) or contributing back to the project any way you can!
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,9 @@
## [postgresql-10.0.1](https://github.com/truecharts/charts/compare/postgresql-10.0.0...postgresql-10.0.1) (2022-11-15)
### Chore
- some tryouts ([#4439](https://github.com/truecharts/charts/issues/4439))

View File

@ -0,0 +1,8 @@
PostgresSQL
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/dependency/postgresql](https://truecharts.org/docs/charts/dependency/postgresql)
---
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,129 @@
image:
repository: tccr.io/truecharts/postgresql
pullPolicy: IfNotPresent
tag: 14.5.0@sha256:1d5c95be8ddb4182509773cfc4d75101adcbd1ae97a47011cd52123dff59c691
controller:
# -- Set the controller type.
# Valid options are deployment, daemonset or statefulset
type: statefulset
# -- Number of desired pods
replicas: 1
# -- Set the controller upgrade strategy
# For Deployments, valid values are Recreate (default) and RollingUpdate.
# For StatefulSets, valid values are OnDelete and RollingUpdate (default).
# DaemonSets ignore this.
strategy: RollingUpdate
rollingUpdate:
# -- Set deployment RollingUpdate max unavailable
unavailable: 1
# -- Set deployment RollingUpdate max surge
surge:
# -- Set statefulset RollingUpdate partition
partition:
# -- ReplicaSet revision history limit
revisionHistoryLimit: 3
securityContext:
readOnlyRootFilesystem: false
service:
main:
ports:
main:
port: 5432
targetPort: 5432
## TODO: Fix the backup-on-upgrade system
enableUpgradeBackup: false
podSecurityContext:
runAsGroup: 0
volumeClaimTemplates:
db:
enabled: true
mountPath: "/bitnami/postgresql"
# -- Probe configuration
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
# @default -- See below
probes:
# -- Liveness probe configuration
# @default -- See below
liveness:
# -- Enable the liveness probe
enabled: true
# -- Set this to `true` if you wish to specify your own livenessProbe
custom: true
# -- The spec field contains the values for the default livenessProbe.
# If you selected `custom: true`, this field holds the definition of the livenessProbe.
# @default -- See below
spec:
exec:
command:
- sh
- -c
- "until pg_isready -U ${POSTGRES_USER} -h localhost; do sleep 2 ; done"
# -- Redainess probe configuration
# @default -- See below
readiness:
# -- Enable the readiness probe
enabled: true
# -- Set this to `true` if you wish to specify your own readinessProbe
custom: true
# -- The spec field contains the values for the default readinessProbe.
# If you selected `custom: true`, this field holds the definition of the readinessProbe.
# @default -- See below
spec:
exec:
command:
- sh
- -c
- "until pg_isready -U ${POSTGRES_USER} -h localhost; do sleep 2 ; done"
# -- Startup probe configuration
# @default -- See below
startup:
# -- Enable the startup probe
enabled: true
custom: true
# -- The spec field contains the values for the default livenessProbe.
# If you selected `custom: true`, this field holds the definition of the livenessProbe.
# @default -- See below
spec:
exec:
command:
- sh
- -c
- "until pg_isready -U ${POSTGRES_USER} -h localhost; do sleep 2 ; done"
postgresqlPassword: "testpass"
postgresqlUsername: "test"
postgresqlDatabase: "test"
postgrespassword: "testroot"
existingSecret: ""
secret:
credentials:
enabled: true
data:
postgresql-password: '{{ ( .Values.postgresqlPassword | default "empty" ) }}'
postgresql-postgres-password: '{{ ( .Values.postgrespassword | default "empty" ) }}'
env:
POSTGRES_PASSWORD:
secretKeyRef:
name: '{{ .Values.existingSecret | default ( printf "%s-credentials" ( include "tc.common.names.fullname" . ) ) }}'
key: "postgresql-password"
POSTGRESQL_POSTGRES_PASSWORD:
secretKeyRef:
name: '{{ .Values.existingSecret | default ( printf "%s-credentials" ( include "tc.common.names.fullname" . ) ) }}'
key: "postgresql-postgres-password"
POSTGRES_USER: "{{ .Values.postgresqlUsername }}"
POSTGRES_DB: "{{ .Values.postgresqlDatabase }}"
# POSTGRESQL_POSTGRES_PASSWORD: "{{ .Values.postgrespassword }}"
# POSTGRESQL_PASSWORD: "{{ .Values.password }}"
portal:
enabled: false

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +0,0 @@
## [promtail-5.0.0](https://github.com/truecharts/charts/compare/promtail-4.0.5...promtail-5.0.0) (2022-11-14)
### Chore
- update helm chart common to v11 ([#4420](https://github.com/truecharts/charts/issues/4420))

View File

@ -23,7 +23,7 @@ sources:
- https://grafana.com/oss/loki/
- https://grafana.com/docs/loki/latest/
type: application
version: 5.0.0
version: 5.0.1
annotations:
truecharts.org/catagories: |
- metrics

View File

@ -0,0 +1,9 @@
## [promtail-5.0.1](https://github.com/truecharts/charts/compare/promtail-5.0.0...promtail-5.0.1) (2022-11-15)
### Chore
- some tryouts ([#4439](https://github.com/truecharts/charts/issues/4439))

View File

@ -1,9 +0,0 @@
## [redis-5.0.0](https://github.com/truecharts/charts/compare/redisinsight-1.0.4...redis-5.0.0) (2022-11-14)
### Chore
- update helm chart common to v11 ([#4420](https://github.com/truecharts/charts/issues/4420))

View File

@ -23,7 +23,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-redis
- http://redis.io/
type: application
version: 5.0.0
version: 5.0.1
annotations:
truecharts.org/catagories: |
- database

View File

@ -0,0 +1,9 @@
## [redis-5.0.1](https://github.com/truecharts/charts/compare/redisinsight-2.0.0...redis-5.0.1) (2022-11-15)
### Chore
- some tryouts ([#4439](https://github.com/truecharts/charts/issues/4439))

Binary file not shown.

View File

View File

@ -1,9 +0,0 @@
## [solr-2.0.0](https://github.com/truecharts/charts/compare/solr-1.0.6...solr-2.0.0) (2022-11-14)
### Chore
- update helm chart common to v11 ([#4420](https://github.com/truecharts/charts/issues/4420))

View File

@ -23,7 +23,7 @@ sources:
- https://github.com/apache/solr
- https://hub.docker.com/r/bitnami/solr/
type: application
version: 2.0.0
version: 2.0.1
annotations:
truecharts.org/catagories: |
- search

View File

@ -0,0 +1,9 @@
## [solr-2.0.1](https://github.com/truecharts/charts/compare/solr-2.0.0...solr-2.0.1) (2022-11-15)
### Chore
- some tryouts ([#4439](https://github.com/truecharts/charts/issues/4439))

Binary file not shown.

View File

@ -0,0 +1,2 @@
{{ include "tc.common.loader.all" . }}

View File

View File

@ -0,0 +1,99 @@
**Important:**
*for the complete changelog, please refer to the website*
## [vaultwarden-16.0.55](https://github.com/truecharts/charts/compare/vaultwarden-16.0.52...vaultwarden-16.0.55) (2022-11-08)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4342](https://github.com/truecharts/charts/issues/4342))
- update helm general non-major ([#4349](https://github.com/truecharts/charts/issues/4349))
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [vaultwarden-16.0.54](https://github.com/truecharts/charts/compare/vaultwarden-16.0.52...vaultwarden-16.0.54) (2022-11-08)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4342](https://github.com/truecharts/charts/issues/4342))
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [vaultwarden-16.0.54](https://github.com/truecharts/charts/compare/vaultwarden-16.0.52...vaultwarden-16.0.54) (2022-11-08)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4342](https://github.com/truecharts/charts/issues/4342))
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [vaultwarden-16.0.54](https://github.com/truecharts/charts/compare/vaultwarden-16.0.52...vaultwarden-16.0.54) (2022-11-08)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4342](https://github.com/truecharts/charts/issues/4342))
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [vaultwarden-16.0.53](https://github.com/truecharts/charts/compare/vaultwarden-16.0.52...vaultwarden-16.0.53) (2022-11-07)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [vaultwarden-16.0.53](https://github.com/truecharts/charts/compare/vaultwarden-16.0.52...vaultwarden-16.0.53) (2022-11-06)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4329](https://github.com/truecharts/charts/issues/4329))
## [vaultwarden-16.0.52](https://github.com/truecharts/charts/compare/vaultwarden-16.0.51...vaultwarden-16.0.52) (2022-11-06)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4317](https://github.com/truecharts/charts/issues/4317))
## [vaultwarden-16.0.51](https://github.com/truecharts/charts/compare/vaultwarden-16.0.50...vaultwarden-16.0.51) (2022-11-05)

View File

@ -0,0 +1,33 @@
apiVersion: v2
appVersion: "1.26.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.0.3
deprecated: false
description: testapplication for moving to operator based postgresql
home: https://truecharts.org/docs/charts/stable/vaultwarden
icon: https://truecharts.org/img/hotlink-ok/chart-icons/vaultwarden.png
keywords:
- bitwarden
- bitwardenrs
- bitwarden_rs
- vaultwarden
- password
- rust
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: testwarden
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/vaultwarden
- https://github.com/dani-garcia/vaultwarden
type: application
version: 20.0.0
annotations:
truecharts.org/catagories: |
- security
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,107 @@
# vaultwarden
Unofficial Bitwarden compatible server written in Rust
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: [vaultwarden](https://truecharts.org/docs/charts/stable/vaultwarden)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Source Code
* <https://github.com/truecharts/charts/tree/master/charts/stable/vaultwarden>
* <https://github.com/dani-garcia/vaultwarden>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://charts.truecharts.org/ | postgresql | 8.0.122 |
| https://library-charts.truecharts.org | common | 10.9.4 |
## Installing the Chart
### TrueNAS SCALE
To install this Chart on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Installing-an-App).
### Helm
To install the chart with the release name `vaultwarden`
```console
helm repo add TrueCharts https://charts.truecharts.org
helm repo update
helm install vaultwarden TrueCharts/vaultwarden
```
## Uninstall
### TrueNAS SCALE
**Upgrading, Rolling Back and Uninstalling the Chart**
To upgrade, rollback or delete this Chart from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Upgrade-rollback-delete-an-App).
### Helm
To uninstall the `vaultwarden` deployment
```console
helm uninstall vaultwarden
```
## Configuration
### Helm
#### Available Settings
Read through the 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/truecharts/library-charts/tree/main/charts/common).
#### Configure using the command line
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install vaultwarden \
--set env.TZ="America/New York" \
TrueCharts/vaultwarden
```
#### 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 vaultwarden TrueCharts/vaultwarden -f values.yaml
```
#### Connecting to other charts
If you need to connect this Chart to other Charts on TrueNAS SCALE, please refer to our [Linking Charts Internally](https://truecharts.org/docs/manual/SCALE%20Apps/linking-apps) quick-start guide.
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/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/sponsor) or contributing back to the project any way you can!
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,9 @@
## [testwarden-20.0.0](https://github.com/truecharts/charts/compare/testwarden-19.0.0...testwarden-20.0.0) (2022-11-15)
### Chore
- some tryouts ([#4439](https://github.com/truecharts/charts/issues/4439))

View File

@ -0,0 +1,8 @@
testapplication for moving to operator based postgresql
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/enterprise/testwarden](https://truecharts.org/docs/charts/enterprise/testwarden)
---
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!

Binary file not shown.

View File

@ -0,0 +1,158 @@
image:
repository: tccr.io/truecharts/vaultwarden
pullPolicy: IfNotPresent
tag: 1.26.0@sha256:c96156c6788a4e6104456a57c48767719147dba3dde1f0a76dfaa7bc98d62581
service:
main:
ports:
main:
port: 10102
targetPort: 8080
ws:
enabled: true
ports:
ws:
enabled: true
port: 3012
targetPort: 3012
env:
DOMAIN: "https://{{ if .Values.ingress }}{{ if .Values.ingress.main.enabled }}{{ ( index .Values.ingress.main.hosts 0 ).host }}{{ else }}placeholder.com{{ end }}{{ else }}placeholder.com{{ end }}"
DATABASE_URL:
secretKeyRef:
name: cnpgcreds
key: std
envFrom:
- configMapRef:
name: vaultwardenconfig
- secretRef:
name: vaultwardensecret
database:
# -- Database type,
# must be one of: 'sqlite', 'mysql' or 'postgresql'.
type: postgresql
# -- Enable DB Write-Ahead-Log for SQLite,
# disabled for other databases. https://github.com/dani-garcia/bitwarden_rs/wiki/Running-without-WAL-enabled
wal: true
## URL for external databases (mysql://user:pass@host:port or postgresql://user:pass@host:port).
# url: ""
## Set the size of the database connection pool.
# maxConnections: 10
## Connection retries during startup, 0 for infinite. 1 second between retries.
# retries: 15
# Set Bitwarden_rs application variables
vaultwarden:
# -- Allow any user to sign-up
# see: https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-registration-of-new-users
allowSignups: true
## Whitelist domains allowed to sign-up. 'allowSignups' is ignored if set.
# signupDomains:
# - domain.tld
# -- Verify e-mail before login is enabled.
# SMTP must be enabled.
verifySignup: false
# When a user logs in an email is required to be sent. If sending the email fails the login attempt will fail. SMTP must be enabled.
requireEmail: false
## Maximum attempts before an email token is reset and a new email will need to be sent.
# emailAttempts: 3
## Email token validity in seconds.
# emailTokenExpiration: 600
# Allow invited users to sign-up even feature is disabled: https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-invitations
allowInvitation: true
# Show password hints: https://github.com/dani-garcia/bitwarden_rs/wiki/Password-hint-display
## Default organization name in invitation e-mails that are not coming from a specific organization.
# defaultInviteName: ""
showPasswordHint: true
# Enable Websockets for notification. https://github.com/dani-garcia/bitwarden_rs/wiki/Enabling-WebSocket-notifications
# Redirect HTTP path "/notifications/hub" to port 3012. Ingress/IngressRoute controllers are automatically configured.
enableWebsockets: true
# Enable Web Vault (static content). https://github.com/dani-garcia/bitwarden_rs/wiki/Disabling-or-overriding-the-Vault-interface-hosting
enableWebVault: true
# Restrict creation of orgs. Options are: 'all', 'none' or a comma-separated list of users.
orgCreationUsers: all
## Limit attachment disk usage per organization.
# attachmentLimitOrg:
## Limit attachment disk usage per user.
# attachmentLimitUser:
## HaveIBeenPwned API Key. Can be purchased at https://haveibeenpwned.com/API/Key.
# hibpApiKey:
admin:
# Enable admin portal.
enabled: false
# Disabling the admin token will make the admin portal accessible to anyone, use carefully: https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-admin-token
disableAdminToken: false
## Token for admin login, will be generated if not defined. https://github.com/dani-garcia/bitwarden_rs/wiki/Enabling-admin-page
# token:
# Enable SMTP. https://github.com/dani-garcia/bitwarden_rs/wiki/SMTP-configuration
smtp:
enabled: false
# SMTP hostname, required if SMTP is enabled.
host: ""
# SMTP sender e-mail address, required if SMTP is enabled.
from: ""
## SMTP sender name, defaults to 'Bitwarden_RS'.
# fromName: ""
## Enable SSL connection.
# ssl: true
## SMTP port. Defaults to 25 without SSL, 587 with SSL.
# port: 587
## SMTP Authentication Mechanisms. Comma-separated options: 'Plain', 'Login' and 'Xoauth2'. Defaults to 'Plain'.
# authMechanism: Plain
## Hostname to be sent for SMTP HELO. Defaults to pod name.
# heloName: ""
## SMTP timeout.
# timeout: 15
## Accept SSL session if certificate is valid but hostname doesn't match. DANGEROUS, vulnerable to men-in-the-middle attacks!
# invalidHostname: false
## Accept invalid certificates. DANGEROUS, vulnerable to men-in-the-middle attacks!
# invalidCertificate: false
## SMTP username.
# user: ""
## SMTP password. Required is user is specified, ignored if no user provided.
# password: ""
## Enable Yubico OTP authentication. https://github.com/dani-garcia/bitwarden_rs/wiki/Enabling-Yubikey-OTP-authentication
yubico:
enabled: false
## Yubico server. Defaults to YubiCloud.
# server:
## Yubico ID and Secret Key.
# clientId:
# secretKey:
## Logging options. https://github.com/dani-garcia/bitwarden_rs/wiki/Logging
log:
# Log to file.
file: ""
# Log level. Options are "trace", "debug", "info", "warn", "error" or "off".
level: "trace"
## Log timestamp format. See https://docs.rs/chrono/0.4.15/chrono/format/strftime/index.html. Defaults to time in milliseconds.
# timeFormat: ""
icons:
# Disables download of external icons. Setting to true will still serve icons from cache (/data/icon_cache). TTL will default to zero.
disableDownload: false
## Cache time-to-live for icons fetched. 0 means no purging.
# cache: 2592000
## Cache time-to-live for icons that were not available. 0 means no purging.
# cacheFailed: 259200
persistence:
data:
enabled: true
mountPath: "/data"
# enable cnpg
cnpg:
enabled: true
user: vaultwarden
database: testwarden
portal:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,116 @@
{{/* Define the configmap */}}
{{- define "vaultwarden.configmap" -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: vaultwardenconfig
data:
ROCKET_PORT: "8080"
SIGNUPS_ALLOWED: {{ .Values.vaultwarden.allowSignups | quote }}
{{- if .Values.vaultwarden.signupDomains }}
SIGNUPS_DOMAINS_WHITELIST: {{ join "," .Values.vaultwarden.signupDomains | quote }}
{{- end }}
{{- if and (eq .Values.vaultwarden.verifySignup true) (eq .Values.vaultwarden.smtp.enabled false) }}{{ required "Signup verification requires SMTP to be enabled" nil}}{{end}}
SIGNUPS_VERIFY: {{ .Values.vaultwarden.verifySignup | quote }}
{{- if and (eq .Values.vaultwarden.requireEmail true) (eq .Values.vaultwarden.smtp.enabled false) }}{{ required "Requiring emails for login depends on SMTP" nil}}{{end}}
REQUIRE_DEVICE_EMAIL: {{ .Values.vaultwarden.requireEmail | quote }}
{{- if .Values.vaultwarden.emailAttempts }}
EMAIL_ATTEMPTS_LIMIT: {{ .Values.vaultwarden.emailAttempts | quote }}
{{- end }}
{{- if .Values.vaultwarden.emailTokenExpiration }}
EMAIL_EXPIRATION_TIME: {{ .Values.vaultwarden.emailTokenExpiration | quote }}
{{- end }}
INVITATIONS_ALLOWED: {{ .Values.vaultwarden.allowInvitation | quote }}
{{- if .Values.vaultwarden.defaultInviteName }}
INVITATION_ORG_NAME: {{ .Values.vaultwarden.defaultInviteName | quote }}
{{- end }}
SHOW_PASSWORD_HINT: {{ .Values.vaultwarden.showPasswordHint | quote }}
WEBSOCKET_ENABLED: {{ .Values.vaultwarden.enableWebsockets | quote }}
WEB_VAULT_ENABLED: {{ .Values.vaultwarden.enableWebVault | quote }}
ORG_CREATION_USERS: {{ .Values.vaultwarden.orgCreationUsers | quote }}
{{- if .Values.vaultwarden.attachmentLimitOrg }}
ORG_ATTACHMENT_LIMIT: {{ .Values.vaultwarden.attachmentLimitOrg | quote }}
{{- end }}
{{- if .Values.vaultwarden.attachmentLimitUser }}
USER_ATTACHMENT_LIMIT: {{ .Values.vaultwarden.attachmentLimitUser | quote }}
{{- end }}
{{- if .Values.vaultwarden.hibpApiKey }}
HIBP_API_KEY: {{ .Values.vaultwarden.hibpApiKey | quote }}
{{- end }}
{{- include "vaultwarden.dbTypeValid" . }}
{{- if .Values.database.retries }}
DB_CONNECTION_RETRIES: {{ .Values.database.retries | quote }}
{{- end }}
{{- if .Values.database.maxConnections }}
DATABASE_MAX_CONNS: {{ .Values.database.maxConnections | quote }}
{{- end }}
{{- if eq .Values.vaultwarden.smtp.enabled true }}
SMTP_HOST: {{ required "SMTP host is required to enable SMTP" .Values.vaultwarden.smtp.host | quote }}
SMTP_FROM: {{ required "SMTP sender address ('from') is required to enable SMTP" .Values.vaultwarden.smtp.from | quote }}
{{- if .Values.vaultwarden.smtp.fromName }}
SMTP_FROM_NAME: {{ .Values.vaultwarden.smtp.fromName | quote }}
{{- end }}
{{- if .Values.vaultwarden.smtp.ssl }}
SMTP_SSL: {{ .Values.vaultwarden.smtp.ssl | quote }}
{{- end }}
{{- if .Values.vaultwarden.smtp.port }}
SMTP_PORT: {{ .Values.vaultwarden.smtp.port | quote }}
{{- end }}
{{- if .Values.vaultwarden.smtp.authMechanism }}
SMTP_AUTH_MECHANISM: {{ .Values.vaultwarden.smtp.authMechanism | quote }}
{{- end }}
{{- if .Values.vaultwarden.smtp.heloName }}
HELO_NAME: {{ .Values.vaultwarden.smtp.heloName | quote }}
{{- end }}
{{- if .Values.vaultwarden.smtp.timeout }}
SMTP_TIMEOUT: {{ .Values.vaultwarden.smtp.timeout | quote }}
{{- end }}
{{- if .Values.vaultwarden.smtp.invalidHostname }}
SMTP_ACCEPT_INVALID_HOSTNAMES: {{ .Values.vaultwarden.smtp.invalidHostname | quote }}
{{- end }}
{{- if .Values.vaultwarden.smtp.invalidCertificate }}
SMTP_ACCEPT_INVALID_CERTS: {{ .Values.vaultwarden.smtp.invalidCertificate | quote }}
{{- end }}
{{- end }}
{{- if .Values.vaultwarden.log.file }}
LOG_FILE: {{ .Values.vaultwarden.log.file | quote }}
{{- end }}
{{- if or .Values.vaultwarden.log.level .Values.vaultwarden.log.timeFormat }}
EXTENDED_LOGGING: "true"
{{- end }}
{{- if .Values.vaultwarden.log.level }}
{{- include "vaultwarden.logLevelValid" . }}
LOG_LEVEL: {{ .Values.vaultwarden.log.level | quote }}
{{- end }}
{{- if .Values.vaultwarden.log.timeFormat }}
LOG_TIMESTAMP_FORMAT: {{ .Values.vaultwarden.log.timeFormat | quote }}
{{- end }}
{{- if .Values.vaultwarden.icons.disableDownload }}
DISABLE_ICON_DOWNLOAD: {{ .Values.vaultwarden.icons.disableDownload | quote }}
{{- if and (not .Values.vaultwarden.icons.cache) (eq .Values.vaultwarden.icons.disableDownload "true") }}
ICON_CACHE_TTL: "0"
{{- end }}
{{- end }}
{{- if .Values.vaultwarden.icons.cache }}
ICON_CACHE_TTL: {{ .Values.vaultwarden.icons.cache | quote }}
{{- end }}
{{- if .Values.vaultwarden.icons.cacheFailed }}
ICON_CACHE_NEGTTL: {{ .Values.vaultwarden.icons.cacheFailed | quote }}
{{- end }}
{{- if eq .Values.vaultwarden.admin.enabled true }}
{{- if eq .Values.vaultwarden.admin.disableAdminToken true }}
DISABLE_ADMIN_TOKEN: "true"
{{- end }}
{{- end }}
{{- if eq .Values.vaultwarden.yubico.enabled true }}
{{- if .Values.vaultwarden.yubico.server }}
YUBICO_SERVER: {{ .Values.vaultwarden.yubico.server | quote }}
{{- end }}
{{- end }}
{{- if eq .Values.database.type "sqlite" }}
ENABLE_DB_WAL: {{ .Values.database.wal | quote }}
{{- else }}
ENABLE_DB_WAL: "false"
{{- end }}
{{- end -}}

View File

@ -0,0 +1,36 @@
{{/* Define the secrets */}}
{{- define "vaultwarden.secrets" -}}
{{- $adminToken := "" }}
{{- if eq .Values.vaultwarden.admin.enabled true }}
{{- $adminToken = .Values.vaultwarden.admin.token | default (randAlphaNum 48) | b64enc | quote }}
{{- end -}}
{{- $smtpUser := "" }}
{{- if and (eq .Values.vaultwarden.smtp.enabled true ) (.Values.vaultwarden.smtp.user) }}
{{- $smtpUser = .Values.vaultwarden.smtp.user | b64enc | quote }}
{{- end -}}
{{- $yubicoClientId := "" }}
{{- if eq .Values.vaultwarden.yubico.enabled true }}
{{- $yubicoClientId = required "Yubico Client ID required" .Values.vaultwarden.yubico.clientId | toString | b64enc | quote }}
{{- end -}}
---
apiVersion: v1
kind: Secret
metadata:
name: vaultwardensecret
data:
{{- if ne $adminToken "" }}
ADMIN_TOKEN: {{ $adminToken }}
{{- end }}
{{- if ne $smtpUser "" }}
SMTP_USERNAME: {{ $smtpUser }}
SMTP_PASSWORD: {{ required "Must specify SMTP password" .Values.vaultwarden.smtp.password | b64enc | quote }}
{{- end }}
{{- if ne $yubicoClientId "" }}
YUBICO_CLIENT_ID: {{ $yubicoClientId }}
YUBICO_SECRET_KEY: {{ required "Yubico Secret Key required" .Values.vaultwarden.yubico.secretKey | b64enc | quote }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,17 @@
{{/*
Ensure valid DB type is select, defaults to SQLite
*/}}
{{- define "vaultwarden.dbTypeValid" -}}
{{- if not (or (eq .Values.database.type "postgresql") (eq .Values.database.type "mysql") (eq .Values.database.type "sqlite")) }}
{{- required "Invalid database type" nil }}
{{- end -}}
{{- end -}}
{{/*
Ensure log type is valid
*/}}
{{- define "vaultwarden.logLevelValid" -}}
{{- if not (or (eq .Values.vaultwarden.log.level "trace") (eq .Values.vaultwarden.log.level "debug") (eq .Values.vaultwarden.log.level "info") (eq .Values.vaultwarden.log.level "warn") (eq .Values.vaultwarden.log.level "error") (eq .Values.vaultwarden.log.level "off")) }}
{{- required "Invalid log level" nil }}
{{- end }}
{{- end }}

View File

@ -0,0 +1,39 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{/* Render configmap for vaultwarden */}}
{{- include "vaultwarden.configmap" . }}
{{/* Render secrets for vaultwarden */}}
{{- include "vaultwarden.secrets" . }}
{{/* Define path for websocket */}}
{{- define "vaultwarden.websocket" -}}
{{- $fullname := include "tc.common.names.fullname" . -}}
path: "/notifications/hub"
# -- Ignored if not kubeVersion >= 1.14-0
pathType: Prefix
service:
# -- Overrides the service name reference for this path
name: {{ printf "%s-ws" $fullname }}
port: {{ .Values.service.ws.ports.ws.port }}
{{- end -}}
{{/* inject websocket path to all main ingress hosts*/}}
{{- define "vaultwarden.websocketinjector" -}}
{{- $path := list (include "vaultwarden.websocket" . | fromYaml) -}}
{{- if .Values.ingress.main.enabled }}
{{- range .Values.ingress.main.hosts }}
{{- $newpaths := list }}
{{- $newpaths := concat .paths $path }}
{{- $_ := set . "paths" ( deepCopy $newpaths ) -}}
{{- end }}
{{- end }}
{{- end -}}
{{/* inject websocket paths in ingress */}}
{{- include "vaultwarden.websocketinjector" . }}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}

View File