Commit new App releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-01-31 07:51:24 +00:00
parent b78e6dcddd
commit 3f1d29a898
48 changed files with 16719 additions and 0 deletions

View File

@ -0,0 +1,41 @@
# Changelog<br>
<a name="n8n-1.0.0"></a>
### [n8n-1.0.0](https://github.com/truecharts/apps/compare/n8n-0.0.4...n8n-1.0.0) (2022-01-31)
<a name="n8n-0.0.4"></a>
### [n8n-0.0.4](https://github.com/truecharts/apps/compare/n8n-0.0.3...n8n-0.0.4) (2022-01-30)
#### Fix
* Fix permissions and add healthcheck path ([#1809](https://github.com/truecharts/apps/issues/1809))
<a name="n8n-0.0.3"></a>
### [n8n-0.0.3](https://github.com/truecharts/apps/compare/n8n-0.0.2...n8n-0.0.3) (2022-01-28)
#### Fix
* Fix default value on some lists ([#1806](https://github.com/truecharts/apps/issues/1806))
<a name="n8n-0.0.2"></a>
### [n8n-0.0.2](https://github.com/truecharts/apps/compare/n8n-0.0.1...n8n-0.0.2) (2022-01-28)
#### Fix
* quote values on configmap ([#1802](https://github.com/truecharts/apps/issues/1802))
<a name="n8n-0.0.1"></a>
### n8n-0.0.1 (2022-01-27)
#### Feat
* Add n8n ([#1797](https://github.com/truecharts/apps/issues/1797))

View File

@ -0,0 +1,8 @@
# Configuration Options
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide:
https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/
##### Available config options
In the future this page is going to contain an automated list of options available in the installation/edit UI.

View File

@ -0,0 +1,12 @@
dependencies:
- name: common
repository: https://truecharts.org
version: 8.14.2
- name: postgresql
repository: https://truecharts.org/
version: 6.0.58
- name: redis
repository: https://truecharts.org
version: 1.0.63
digest: sha256:e41f7ea9203768b04adca367d6fba3dca20224666c88824b364d9d4a9d56c6bf
generated: "2022-01-31T07:47:40.218846476Z"

View File

@ -0,0 +1,36 @@
apiVersion: v2
appVersion: "0.160.0"
dependencies:
- name: common
repository: https://truecharts.org
version: 8.14.2
- condition: postgresql.enabled
name: postgresql
repository: https://truecharts.org/
version: 6.0.58
- condition: redis.enabled
name: redis
repository: https://truecharts.org
version: 1.0.63
description: n8n is an extendable workflow automation tool.
home: https://github.com/truecharts/apps/tree/master/charts/stable/n8n
icon: https://truecharts.org/_static/img/appicons/n8n-icon.png
keywords:
- workflows
- automation
kubeVersion: '>=1.16.0-0'
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: n8n
sources:
- https://docs.n8n.io/
- https://github.com/n8n-io/n8n
- https://hub.docker.com/r/n8nio/n8n
version: 1.0.0
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,41 @@
# Introduction
n8n is an extendable workflow automation tool.
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://docs.n8n.io/>
* <https://github.com/n8n-io/n8n>
* <https://hub.docker.com/r/n8nio/n8n>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://truecharts.org/ | postgresql | 6.0.58 |
| https://truecharts.org | common | 8.14.2 |
| https://truecharts.org | redis | 1.0.63 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/).
## Uninstalling the Chart
To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/).
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) 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

@ -0,0 +1,3 @@
n8n is an extendable workflow automation tool.
This App is supplied by TrueCharts, for more information please visit https://truecharts.org

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,59 @@
# Default Helm-Values
TrueCharts is primarily build to supply TrueNAS SCALE Apps.
However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
Most of our Apps also consume our "common" Helm Chart.
If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| credentials | object | `{}` | |
| deployment.N8N_HOST | string | `"localhost"` | |
| endpoints | object | `{}` | |
| env.DB_POSTGRESDB_DATABASE | string | `"{{ .Values.postgresql.postgresqlDatabase }}"` | |
| env.DB_POSTGRESDB_PORT | int | `5432` | |
| env.DB_POSTGRESDB_USER | string | `"{{ .Values.postgresql.postgresqlUsername }}"` | |
| env.DB_TYPE | string | `"postgresdb"` | |
| env.GENERIC_TIMEZONE | string | `"{{ .Values.env.TZ }}"` | |
| env.N8N_USER_FOLDER | string | `"/data"` | |
| env.QUEUE_BULL_REDIS_PORT | int | `6379` | |
| env.TZ | string | `"UTC"` | |
| envFrom[0].configMapRef.name | string | `"n8n-config"` | |
| envValueFrom.DB_POSTGRESDB_HOST.secretKeyRef.key | string | `"plainhost"` | |
| envValueFrom.DB_POSTGRESDB_HOST.secretKeyRef.name | string | `"dbcreds"` | |
| envValueFrom.DB_POSTGRESDB_PASSWORD.secretKeyRef.key | string | `"postgresql-password"` | |
| envValueFrom.DB_POSTGRESDB_PASSWORD.secretKeyRef.name | string | `"dbcreds"` | |
| envValueFrom.QUEUE_BULL_REDIS_HOST.secretKeyRef.key | string | `"plainhost"` | |
| envValueFrom.QUEUE_BULL_REDIS_HOST.secretKeyRef.name | string | `"rediscreds"` | |
| envValueFrom.QUEUE_BULL_REDIS_PASSWORD.secretKeyRef.key | string | `"redis-password"` | |
| envValueFrom.QUEUE_BULL_REDIS_PASSWORD.secretKeyRef.name | string | `"rediscreds"` | |
| executions | object | `{}` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"tccr.io/truecharts/n8n"` | |
| image.tag | string | `"v0.160.0@sha256:2141ab9bb8e8a820fa07a20ae9bdd1a7c5f2102926238ab7f3aa4a3c9e175ebe"` | |
| logs.N8N_LOG_FILE_LOCATION | string | `"/data/logs"` | |
| persistence.data.enabled | bool | `true` | |
| persistence.data.mountPath | string | `"/data"` | |
| podSecurityContext.fsGroup | int | `1000` | |
| podSecurityContext.runAsUser | int | `0` | |
| postgresql.enabled | bool | `true` | |
| postgresql.existingSecret | string | `"dbcreds"` | |
| postgresql.postgresqlDatabase | string | `"n8n"` | |
| postgresql.postgresqlUsername | string | `"n8n"` | |
| probes.liveness.path | string | `"/healthz"` | |
| probes.readiness.path | string | `"/healthz"` | |
| probes.startup.path | string | `"/healthz"` | |
| redis.enabled | bool | `true` | |
| redis.existingSecret | string | `"rediscreds"` | |
| security | object | `{}` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| securityContext.runAsNonRoot | bool | `false` | |
| service.main.ports.main.port | int | `5678` | |
| service.main.ports.main.targetPort | int | `5678` | |
| workflows | object | `{}` | |
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,134 @@
image:
repository: tccr.io/truecharts/n8n
tag: v0.160.0@sha256:2141ab9bb8e8a820fa07a20ae9bdd1a7c5f2102926238ab7f3aa4a3c9e175ebe
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
fsGroup: 1000
env:
TZ: UTC
GENERIC_TIMEZONE: "{{ .Values.env.TZ }}"
DB_TYPE: "postgresdb"
DB_POSTGRESDB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
DB_POSTGRESDB_DATABASE: "{{ .Values.postgresql.postgresqlDatabase }}"
DB_POSTGRESDB_PORT: 5432
QUEUE_BULL_REDIS_PORT: 6379
N8N_USER_FOLDER: "/data"
probes:
liveness:
path: "/healthz"
readiness:
path: "/healthz"
startup:
path: "/healthz"
credentials: {}
# CREDENTIALS_OVERWRITE_DATA: ""
# CREDENTIALS_OVERWRITE_ENDPOINT: ""
# CREDENTIALS_DEFAULT_NAME: "My credentials"
deployment:
N8N_HOST: "localhost"
# N8N_CONFIG_FILES: ""
# N8N_ENCRYPTION_KEY: ""
# N8N_DIAGNOSTICS_ENABLED: true
# N8N_DISABLE_UI: false
# N8N_PERSONALIZATION_ENABLED: true
# N8N_VERSION_NOTIFICATIONS_ENABLED: true
endpoints: {}
# WEBHOOK_URL: ""
# N8N_PAYLOAD_SIZE_MAX: 16
# N8N_METRICS: false
# N8N_METRICS_PREFIX: "n8n_"
# N8N_ENDPOINT_REST: "rest"
# N8N_ENDPOINT_WEBHOOK: "webhook"
# N8N_ENDPOINT_WEBHOOK_TEST: "webhook-test"
# N8N_ENDPOINT_WEBHOOK_WAIT: "webhook-waiting"
# N8N_DISABLE_PRODUCTION_MAIN_PROCESS: false
# N8N_SKIP_WEBHOOK_DEREGISTRATION_SHUTDOWN: false
executions: {}
# EXECUTIONS_PROCESS: "own"
# EXECUTIONS_MODE: "regular"
# EXECUTIONS_TIMEOUT: "-1"
# EXECUTIONS_TIMEOUT_MAX: 3600
# EXECUTIONS_DATA_SAVE_ON_ERROR: "all"
# EXECUTIONS_DATA_SAVE_ON_SUCCESS: "all"
# EXECUTIONS_DATA_SAVE_ON_PROGRESS: false
# EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS: false
# EXECUTIONS_DATA_PRUNE: false
# EXECUTIONS_DATA_MAX_AGE: 336
# EXECUTIONS_DATA_PRUNE_TIMEOUT: 3600
logs:
# N8N_LOG_LEVEL: "info"
# N8N_LOG_OUTPUT: "console"
# N8N_LOG_FILE_COUNT_MAX: 100
# N8N_LOG_FILE_SIZE_MAX: 16
N8N_LOG_FILE_LOCATION: "/data/logs"
security: {}
# N8N_AUTH_EXCLUDE_ENDPOINTS: ""
# N8N_BASIC_AUTH_ACTIVE: false
# N8N_BASIC_AUTH_USER: ""
# N8N_BASIC_AUTH_PASSWORD: ""
# N8N_BASIC_AUTH_HASH: false
# N8N_JWT_AUTH_ACTIVE: false
# N8N_JWT_AUTH_HEADER: ""
# N8N_JWT_AUTH_HEADER_VALUE_PREFIX: ""
# N8N_JWKS_URI: ""
# N8N_JWT_ISSUER: ""
# N8N_JWT_NAMESPACE: ""
# N8N_JWT_ALLOWED_TENANT: ""
# N8N_JWT_ALLOWED_TENANT_KEY: ""
workflows: {}
# WORKFLOWS_DEFAULT_NAME: "My workflow"
envFrom:
- configMapRef:
name: n8n-config
envValueFrom:
DB_POSTGRESDB_HOST:
secretKeyRef:
name: dbcreds
key: plainhost
DB_POSTGRESDB_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
QUEUE_BULL_REDIS_HOST:
secretKeyRef:
name: rediscreds
key: plainhost
QUEUE_BULL_REDIS_PASSWORD:
secretKeyRef:
name: rediscreds
key: redis-password
service:
main:
ports:
main:
port: 5678
targetPort: 5678
persistence:
data:
enabled: true
mountPath: "/data"
# Enabled redis
redis:
enabled: true
existingSecret: "rediscreds"
# Enabled postgres
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: n8n
postgresqlDatabase: n8n

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,166 @@
{{/* Define the configmap */}}
{{- define "n8n.configmap" -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: n8n-config
data:
{{/* Workflows */}}
{{- if .Values.workflows.WORKFLOWS_DEFAULT_NAME }}
WORKFLOWS_DEFAULT_NAME: {{ .Values.workflows.WORKFLOWS_DEFAULT_NAME | quote }}
{{- end }}
{{/* Security */}}
{{- if .Values.security.N8N_AUTH_EXCLUDE_ENDPOINTS }}
N8N_AUTH_EXCLUDE_ENDPOINTS: {{ .Values.security.N8N_AUTH_EXCLUDE_ENDPOINTS | quote }}
{{- end }}
{{- if .Values.security.N8N_BASIC_AUTH_ACTIVE }}
N8N_BASIC_AUTH_ACTIVE: {{ .Values.security.N8N_BASIC_AUTH_ACTIVE | quote }}
{{- end }}
{{- if .Values.security.N8N_BASIC_AUTH_USER }}
N8N_BASIC_AUTH_USER: {{ .Values.security.N8N_BASIC_AUTH_USER | quote }}
{{- end }}
{{- if .Values.security.N8N_BASIC_AUTH_PASSWORD }}
N8N_BASIC_AUTH_PASSWORD: {{ .Values.security.N8N_BASIC_AUTH_PASSWORD | quote }}
{{- end }}
{{- if .Values.security.N8N_BASIC_AUTH_HASH }}
N8N_BASIC_AUTH_HASH: {{ .Values.security.N8N_BASIC_AUTH_HASH | quote }}
{{- end }}
{{- if .Values.security.N8N_JWT_AUTH_ACTIVE }}
N8N_JWT_AUTH_ACTIVE: {{ .Values.security.N8N_JWT_AUTH_ACTIVE | quote }}
{{- end }}
{{- if .Values.security.N8N_JWT_AUTH_HEADER }}
N8N_JWT_AUTH_HEADER: {{ .Values.security.N8N_JWT_AUTH_HEADER | quote }}
{{- end }}
{{- if .Values.security.N8N_JWT_AUTH_HEADER_VALUE_PREFIX }}
N8N_JWT_AUTH_HEADER_VALUE_PREFIX: {{ .Values.security.N8N_JWT_AUTH_HEADER_VALUE_PREFIX | quote }}
{{- end }}
{{- if .Values.security.N8N_JWKS_URI }}
N8N_JWKS_URI: {{ .Values.security.N8N_JWKS_URI | quote }}
{{- end }}
{{- if .Values.security.N8N_JWT_ISSUER }}
N8N_JWT_ISSUER: {{ .Values.security.N8N_JWT_ISSUER | quote }}
{{- end }}
{{- if .Values.security.N8N_JWT_NAMESPACE }}
N8N_JWT_NAMESPACE: {{ .Values.security.N8N_JWT_NAMESPACE | quote }}
{{- end }}
{{- if .Values.security.N8N_JWT_ALLOWED_TENANT }}
N8N_JWT_ALLOWED_TENANT: {{ .Values.security.N8N_JWT_ALLOWED_TENANT | quote }}
{{- end }}
{{- if .Values.security.N8N_JWT_ALLOWED_TENANT_KEY }}
N8N_JWT_ALLOWED_TENANT_KEY: {{ .Values.security.N8N_JWT_ALLOWED_TENANT_KEY | quote }}
{{- end }}
{{/* Logs */}}
{{- if .Values.logs.N8N_LOG_LEVEL }}
N8N_LOG_LEVEL: {{ .Values.logs.N8N_LOG_LEVEL | quote }}
{{- end }}
{{- if .Values.logs.N8N_LOG_OUTPUT }}
N8N_LOG_OUTPUT: {{ .Values.logs.N8N_LOG_OUTPUT | quote }}
{{- end }}
{{- if .Values.logs.N8N_LOG_FILE_COUNT_MAX }}
N8N_LOG_FILE_COUNT_MAX: {{ .Values.logs.N8N_LOG_FILE_COUNT_MAX | quote }}
{{- end }}
{{- if .Values.logs.N8N_LOG_FILE_SIZE_MAX }}
N8N_LOG_FILE_SIZE_MAX: {{ .Values.logs.N8N_LOG_FILE_SIZE_MAX | quote }}
{{- end }}
{{- if .Values.logs.N8N_LOG_FILE_LOCATION }}
N8N_LOG_FILE_LOCATION: {{ .Values.logs.N8N_LOG_FILE_LOCATION | quote }}
{{- end }}
{{/* Executions */}}
{{- if .Values.executions.EXECUTIONS_PROCESS }}
EXECUTIONS_PROCESS: {{ .Values.executions.EXECUTIONS_PROCESS | quote }}
{{- end }}
{{- if .Values.executions.EXECUTIONS_MODE }}
EXECUTIONS_MODE: {{ .Values.executions.EXECUTIONS_MODE | quote }}
{{- end }}
{{- if .Values.executions.EXECUTIONS_TIMEOUT }}
EXECUTIONS_TIMEOUT: {{ .Values.executions.EXECUTIONS_TIMEOUT | quote }}
{{- end }}
{{- if .Values.executions.EXECUTIONS_TIMEOUT_MAX }}
EXECUTIONS_TIMEOUT_MAX: {{ .Values.executions.EXECUTIONS_TIMEOUT_MAX | quote }}
{{- end }}
{{- if .Values.executions.EXECUTIONS_DATA_SAVE_ON_ERROR }}
EXECUTIONS_DATA_SAVE_ON_ERROR: {{ .Values.executions.EXECUTIONS_DATA_SAVE_ON_ERROR | quote }}
{{- end }}
{{- if .Values.executions.EXECUTIONS_DATA_SAVE_ON_SUCCESS }}
EXECUTIONS_DATA_SAVE_ON_SUCCESS: {{ .Values.executions.EXECUTIONS_DATA_SAVE_ON_SUCCESS | quote }}
{{- end }}
{{- if .Values.executions.EXECUTIONS_DATA_SAVE_ON_PROGRESS }}
EXECUTIONS_DATA_SAVE_ON_PROGRESS: {{ .Values.executions.EXECUTIONS_DATA_SAVE_ON_PROGRESS | quote }}
{{- end }}
{{- if .Values.executions.EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS }}
EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS: {{ .Values.executions.EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS | quote }}
{{- end }}
{{- if .Values.executions.EXECUTIONS_DATA_PRUNE }}
EXECUTIONS_DATA_PRUNE: {{ .Values.executions.EXECUTIONS_DATA_PRUNE | quote }}
{{- end }}
{{- if .Values.executions.EXECUTIONS_DATA_MAX_AGE }}
EXECUTIONS_DATA_MAX_AGE: {{ .Values.executions.EXECUTIONS_DATA_MAX_AGE | quote }}
{{- end }}
{{- if .Values.executions.EXECUTIONS_DATA_PRUNE_TIMEOUT }}
EXECUTIONS_DATA_PRUNE_TIMEOUT: {{ .Values.executions.EXECUTIONS_DATA_PRUNE_TIMEOUT | quote }}
{{- end }}
{{/* Endpoints */}}
{{- if .Values.endpoints.WEBHOOK_URL }}
WEBHOOK_URL: {{ .Values.endpoints.WEBHOOK_URL | quote }}
{{- end }}
{{- if .Values.endpoints.N8N_PAYLOAD_SIZE_MAX }}
N8N_PAYLOAD_SIZE_MAX: {{ .Values.endpoints.N8N_PAYLOAD_SIZE_MAX | quote }}
{{- end }}
{{- if .Values.endpoints.N8N_METRICS }}
N8N_METRICS: {{ .Values.endpoints.N8N_METRICS | quote }}
{{- end }}
{{- if .Values.endpoints.N8N_METRICS_PREFIX }}
N8N_METRICS_PREFIX: {{ .Values.endpoints.N8N_METRICS_PREFIX | quote }}
{{- end }}
{{- if .Values.endpoints.N8N_ENDPOINT_REST }}
N8N_ENDPOINT_REST: {{ .Values.endpoints.N8N_ENDPOINT_REST | quote }}
{{- end }}
{{- if .Values.endpoints.N8N_ENDPOINT_WEBHOOK }}
N8N_ENDPOINT_WEBHOOK: {{ .Values.endpoints.N8N_ENDPOINT_WEBHOOK | quote }}
{{- end }}
{{- if .Values.endpoints.N8N_ENDPOINT_WEBHOOK_TEST }}
N8N_ENDPOINT_WEBHOOK_TEST: {{ .Values.endpoints.N8N_ENDPOINT_WEBHOOK_TEST | quote }}
{{- end }}
{{- if .Values.endpoints.N8N_ENDPOINT_WEBHOOK_WAIT }}
N8N_ENDPOINT_WEBHOOK_WAIT: {{ .Values.endpoints.N8N_ENDPOINT_WEBHOOK_WAIT | quote }}
{{- end }}
{{- if .Values.endpoints.N8N_DISABLE_PRODUCTION_MAIN_PROCESS }}
N8N_DISABLE_PRODUCTION_MAIN_PROCESS: {{ .Values.endpoints.N8N_DISABLE_PRODUCTION_MAIN_PROCESS | quote }}
{{- end }}
{{- if .Values.endpoints.N8N_SKIP_WEBHOOK_DEREGISTRATION_SHUTDOWN }}
N8N_SKIP_WEBHOOK_DEREGISTRATION_SHUTDOWN: {{ .Values.endpoints.N8N_SKIP_WEBHOOK_DEREGISTRATION_SHUTDOWN | quote }}
{{- end }}
{{/* Credentials */}}
{{- if .Values.credentials.CREDENTIALS_OVERWRITE_DATA }}
CREDENTIALS_OVERWRITE_DATA: {{ .Values.credentials.CREDENTIALS_OVERWRITE_DATA | quote }}
{{- end }}
{{- if .Values.credentials.CREDENTIALS_OVERWRITE_ENDPOINT }}
CREDENTIALS_OVERWRITE_ENDPOINT: {{ .Values.credentials.CREDENTIALS_OVERWRITE_ENDPOINT | quote }}
{{- end }}
{{- if .Values.credentials.CREDENTIALS_DEFAULT_NAME }}
CREDENTIALS_DEFAULT_NAME: {{ .Values.credentials.CREDENTIALS_DEFAULT_NAME | quote }}
{{- end }}
{{/* Deployment */}}
{{- if .Values.deployment.N8N_HOST }}
N8N_HOST: {{ .Values.deployment.N8N_HOST | quote }}
{{- end }}
{{- if .Values.deployment.N8N_CONFIG_FILES }}
N8N_CONFIG_FILES: {{ .Values.deployment.N8N_CONFIG_FILES | quote }}
{{- end }}
{{- if .Values.deployment.N8N_DISABLE_UI }}
N8N_DISABLE_UI: {{ .Values.deployment.N8N_DISABLE_UI | quote }}
{{- end }}
{{- if .Values.deployment.N8N_ENCRYPTION_KEY }}
N8N_ENCRYPTION_KEY: {{ .Values.deployment.N8N_ENCRYPTION_KEY | quote }}
{{- end }}
{{- if .Values.deployment.N8N_PERSONALIZATION_ENABLED }}
N8N_PERSONALIZATION_ENABLED: {{ .Values.deployment.N8N_PERSONALIZATION_ENABLED | quote }}
{{- end }}
{{- if .Values.deployment.N8N_VERSION_NOTIFICATIONS_ENABLED }}
N8N_VERSION_NOTIFICATIONS_ENABLED: {{ .Values.deployment.N8N_VERSION_NOTIFICATIONS_ENABLED | quote }}
{{- end }}
{{- if .Values.deployment.N8N_DIAGNOSTICS_ENABLED }}
N8N_DIAGNOSTICS_ENABLED: {{ .Values.deployment.N8N_DIAGNOSTICS_ENABLED | quote }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,9 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.setup" . }}
{{/* Render configmap for n8n */}}
{{- include "n8n.configmap" . }}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}

View File

4
stable/n8n/item.yaml Normal file
View File

@ -0,0 +1,4 @@
icon_url: https://truecharts.org/_static/img/appicons/n8n-icon.png
categories:
- media

View File

@ -0,0 +1,32 @@
# Changelog<br>
<a name="strapi-1.0.0"></a>
### [strapi-1.0.0](https://github.com/truecharts/apps/compare/strapi-0.0.3...strapi-1.0.0) (2022-01-31)
<a name="strapi-0.0.3"></a>
### [strapi-0.0.3](https://github.com/truecharts/apps/compare/strapi-0.0.2...strapi-0.0.3) (2022-01-28)
#### Chore
* Add NODE_ENV on GUI ([#1808](https://github.com/truecharts/apps/issues/1808))
<a name="strapi-0.0.2"></a>
### [strapi-0.0.2](https://github.com/truecharts/apps/compare/strapi-0.0.1...strapi-0.0.2) (2022-01-28)
#### Feat
* add admin portal ([#1803](https://github.com/truecharts/apps/issues/1803))
<a name="strapi-0.0.1"></a>
### strapi-0.0.1 (2022-01-27)
#### Feat
* Add strapi ([#1800](https://github.com/truecharts/apps/issues/1800))

View File

@ -0,0 +1,8 @@
# Configuration Options
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide:
https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/
##### Available config options
In the future this page is going to contain an automated list of options available in the installation/edit UI.

View File

@ -0,0 +1,9 @@
dependencies:
- name: common
repository: https://truecharts.org
version: 8.14.2
- name: postgresql
repository: https://truecharts.org/
version: 6.0.58
digest: sha256:a28ed48da9797a2e9d6e9a194aa6f65b07fc1cc0169d5ffdb0ba7c44c94806b1
generated: "2022-01-31T07:47:39.858289543Z"

View File

@ -0,0 +1,32 @@
apiVersion: v2
appVersion: "3.6.8"
dependencies:
- name: common
repository: https://truecharts.org
version: 8.14.2
- condition: postgresql.enabled
name: postgresql
repository: https://truecharts.org/
version: 6.0.58
description: Strapi is the leading open-source headless CMS. Its 100% JavaScript, fully customizable and developer-first.
home: https://github.com/truecharts/apps/tree/master/charts/stable/strapi
icon: https://truecharts.org/_static/img/appicons/strapi-icon.png
keywords:
- strapi
- cms
kubeVersion: '>=1.16.0-0'
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: strapi
sources:
- https://hub.docker.com/r/strapi/strapi
- https://github.com/strapi/strapi
- https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/installation/docker.html#creating-a-strapi-project
version: 1.0.0
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,40 @@
# Introduction
Strapi is the leading open-source headless CMS. Its 100% JavaScript, fully customizable and developer-first.
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://hub.docker.com/r/strapi/strapi>
* <https://github.com/strapi/strapi>
* <https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/installation/docker.html#creating-a-strapi-project>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://truecharts.org/ | postgresql | 6.0.58 |
| https://truecharts.org | common | 8.14.2 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/).
## Uninstalling the Chart
To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/).
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) 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

@ -0,0 +1,3 @@
Strapi is the leading open-source headless CMS. Its 100% JavaScript, fully customizable and developer-first.
This App is supplied by TrueCharts, for more information please visit https://truecharts.org

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,41 @@
# Default Helm-Values
TrueCharts is primarily build to supply TrueNAS SCALE Apps.
However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
Most of our Apps also consume our "common" Helm Chart.
If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env.DATABASE_CLIENT | string | `"postgres"` | |
| env.DATABASE_NAME | string | `"{{ .Values.postgresql.postgresqlDatabase }}"` | |
| env.DATABASE_PORT | int | `5432` | |
| env.DATABASE_USERNAME | string | `"{{ .Values.postgresql.postgresqlUsername }}"` | |
| env.EXTRA_ARGS | string | `""` | |
| env.NODE_ENV | string | `"production"` | |
| env.TZ | string | `"UTC"` | |
| envValueFrom.DATABASE_HOST.secretKeyRef.key | string | `"plainhost"` | |
| envValueFrom.DATABASE_HOST.secretKeyRef.name | string | `"dbcreds"` | |
| envValueFrom.DATABASE_PASSWORD.secretKeyRef.key | string | `"postgresql-password"` | |
| envValueFrom.DATABASE_PASSWORD.secretKeyRef.name | string | `"dbcreds"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"tccr.io/truecharts/strapi"` | |
| image.tag | string | `"v3.6.8@sha256:25d345a1787c5be5ef1771b069e0eeaeba5b244a62870cc2b9d5acba0eaedd89"` | |
| persistence.data.enabled | bool | `true` | |
| persistence.data.mountPath | string | `"/srv/app"` | |
| podSecurityContext.runAsGroup | int | `0` | |
| podSecurityContext.runAsUser | int | `0` | |
| postgresql.enabled | bool | `true` | |
| postgresql.existingSecret | string | `"dbcreds"` | |
| postgresql.postgresqlDatabase | string | `"strapi"` | |
| postgresql.postgresqlUsername | string | `"strapi"` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| securityContext.runAsNonRoot | bool | `false` | |
| service.main.ports.main.port | int | `1337` | |
| service.main.ports.main.targetPort | int | `1337` | |
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,50 @@
image:
repository: tccr.io/truecharts/strapi
tag: v3.6.8@sha256:25d345a1787c5be5ef1771b069e0eeaeba5b244a62870cc2b9d5acba0eaedd89
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env:
TZ: UTC
DATABASE_CLIENT: "postgres"
DATABASE_PORT: 5432
DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
DATABASE_USERNAME: "{{ .Values.postgresql.postgresqlUsername }}"
NODE_ENV: "production"
EXTRA_ARGS: ""
envValueFrom:
DATABASE_HOST:
secretKeyRef:
name: dbcreds
key: plainhost
DATABASE_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
service:
main:
ports:
main:
port: 1337
targetPort: 1337
persistence:
data:
enabled: true
mountPath: "/srv/app"
# Enabled postgres
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: strapi
postgresqlDatabase: strapi

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

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

View File

View File

@ -0,0 +1,23 @@
# Changelog<br>
<a name="weblate-1.0.0"></a>
### [weblate-1.0.0](https://github.com/truecharts/apps/compare/weblate-0.0.2...weblate-1.0.0) (2022-01-31)
<a name="weblate-0.0.2"></a>
### [weblate-0.0.2](https://github.com/truecharts/apps/compare/weblate-0.0.1...weblate-0.0.2) (2022-01-30)
#### Fix
* fix UI, configmap and `runAsGroup: 0` ([#1813](https://github.com/truecharts/apps/issues/1813))
<a name="weblate-0.0.1"></a>
### weblate-0.0.1 (2022-01-30)
#### Feat
* Add weblate ([#1812](https://github.com/truecharts/apps/issues/1812))

View File

@ -0,0 +1,8 @@
# Configuration Options
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide:
https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/
##### Available config options
In the future this page is going to contain an automated list of options available in the installation/edit UI.

View File

@ -0,0 +1,12 @@
dependencies:
- name: common
repository: https://truecharts.org
version: 8.14.2
- name: postgresql
repository: https://truecharts.org/
version: 6.0.58
- name: redis
repository: https://truecharts.org
version: 1.0.63
digest: sha256:e41f7ea9203768b04adca367d6fba3dca20224666c88824b364d9d4a9d56c6bf
generated: "2022-01-31T07:47:40.337411132Z"

View File

@ -0,0 +1,36 @@
apiVersion: v2
appVersion: "4.10.1"
dependencies:
- name: common
repository: https://truecharts.org
version: 8.14.2
- condition: postgresql.enabled
name: postgresql
repository: https://truecharts.org/
version: 6.0.58
- condition: redis.enabled
name: redis
repository: https://truecharts.org
version: 1.0.63
description: Weblate is a copylefted libre software web-based continuous localization system
home: https://github.com/truecharts/apps/tree/master/charts/stable/weblate
icon: https://truecharts.org/_static/img/appicons/weblate-icon.png
keywords:
- translate
kubeVersion: '>=1.16.0-0'
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: weblate
sources:
- https://github.com/WeblateOrg/weblate
- https://github.com/WeblateOrg/docker
- https://github.com/WeblateOrg/docker-compose
- https://docs.weblate.org/en/latest/
version: 1.0.0
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,42 @@
# Introduction
Weblate is a copylefted libre software web-based continuous localization system
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://github.com/WeblateOrg/weblate>
* <https://github.com/WeblateOrg/docker>
* <https://github.com/WeblateOrg/docker-compose>
* <https://docs.weblate.org/en/latest/>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://truecharts.org/ | postgresql | 6.0.58 |
| https://truecharts.org | common | 8.14.2 |
| https://truecharts.org | redis | 1.0.63 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/).
## Uninstalling the Chart
To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/).
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) 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

@ -0,0 +1,3 @@
Weblate is a copylefted libre software web-based continuous localization system
This App is supplied by TrueCharts, for more information please visit https://truecharts.org

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,74 @@
# Default Helm-Values
TrueCharts is primarily build to supply TrueNAS SCALE Apps.
However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
Most of our Apps also consume our "common" Helm Chart.
If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env.POSTGRES_DATABASE | string | `"{{ .Values.postgresql.postgresqlDatabase }}"` | |
| env.POSTGRES_PORT | int | `5432` | |
| env.POSTGRES_USER | string | `"{{ .Values.postgresql.postgresqlUsername }}"` | |
| env.REDIS_DB | string | `"0"` | |
| env.REDIS_PORT | int | `6379` | |
| env.TZ | string | `"UTC"` | |
| env.WEBLATE_TIME_ZONE | string | `"{{ .Values.env.TZ }}"` | |
| envFrom[0].configMapRef.name | string | `"weblate-env"` | |
| envValueFrom.POSTGRES_HOST.secretKeyRef.key | string | `"plainhost"` | |
| envValueFrom.POSTGRES_HOST.secretKeyRef.name | string | `"dbcreds"` | |
| envValueFrom.POSTGRES_PASSWORD.secretKeyRef.key | string | `"postgresql-password"` | |
| envValueFrom.POSTGRES_PASSWORD.secretKeyRef.name | string | `"dbcreds"` | |
| envValueFrom.REDIS_HOST.secretKeyRef.key | string | `"plainhost"` | |
| envValueFrom.REDIS_HOST.secretKeyRef.name | string | `"rediscreds"` | |
| envValueFrom.REDIS_PASSWORD.secretKeyRef.key | string | `"redis-password"` | |
| envValueFrom.REDIS_PASSWORD.secretKeyRef.name | string | `"rediscreds"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"tccr.io/truecharts/weblate"` | |
| image.tag | string | `"v4.10.1@sha256:bc517880487a9a766a3ce4ddfe429ed37ad4605d0097e28b0dd16eafdacd12b2"` | |
| persistence.cache.enabled | bool | `true` | |
| persistence.cache.mountPath | string | `"/app/cache"` | |
| persistence.cache.type | string | `"emptyDir"` | |
| persistence.config.enabled | bool | `true` | |
| persistence.config.mountPath | string | `"/app/data"` | |
| podSecurityContext.fsGroup | int | `1000` | |
| podSecurityContext.runAsGroup | int | `0` | |
| podSecurityContext.runAsUser | int | `1000` | |
| postgresql.enabled | bool | `true` | |
| postgresql.existingSecret | string | `"dbcreds"` | |
| postgresql.postgresqlDatabase | string | `"weblate"` | |
| postgresql.postgresqlUsername | string | `"weblate"` | |
| probes.liveness.path | string | `"/healthz"` | |
| probes.readiness.path | string | `"/healthz"` | |
| probes.startup.path | string | `"/healthz"` | |
| redis.enabled | bool | `true` | |
| redis.existingSecret | string | `"rediscreds"` | |
| redis.redisUsername | string | `"default"` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| service.main.ports.main.port | int | `10158` | |
| service.main.ports.main.targetPort | int | `8080` | |
| weblate.auth.azure | object | `{}` | |
| weblate.auth.azuretenant | object | `{}` | |
| weblate.auth.bitbucket | object | `{}` | |
| weblate.auth.facebook | object | `{}` | |
| weblate.auth.github | object | `{}` | |
| weblate.auth.gitlab | object | `{}` | |
| weblate.auth.google | object | `{}` | |
| weblate.auth.keycloak | object | `{}` | |
| weblate.auth.ldap | object | `{}` | |
| weblate.auth.linux | object | `{}` | |
| weblate.auth.saml | object | `{}` | |
| weblate.auth.slack | object | `{}` | |
| weblate.email | object | `{}` | |
| weblate.errorreport | object | `{}` | |
| weblate.general.WEBLATE_SITE_DOMAIN | string | `"weblate.example.com"` | |
| weblate.general.WEBLATE_SITE_TITLE | string | `"My Project's Weblate"` | |
| weblate.localization | object | `{}` | |
| weblate.machinetranslate | object | `{}` | |
| weblate.siteintegration | object | `{}` | |
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,248 @@
image:
repository: tccr.io/truecharts/weblate
tag: v4.10.1@sha256:bc517880487a9a766a3ce4ddfe429ed37ad4605d0097e28b0dd16eafdacd12b2
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 1000
runAsGroup: 0
fsGroup: 1000
env:
TZ: UTC
WEBLATE_TIME_ZONE: "{{ .Values.env.TZ }}"
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
POSTGRES_DATABASE: "{{ .Values.postgresql.postgresqlDatabase }}"
POSTGRES_PORT: 5432
REDIS_PORT: 6379
REDIS_DB: "0"
weblate:
general:
WEBLATE_SITE_TITLE: "My Project's Weblate"
WEBLATE_SITE_DOMAIN: "weblate.example.com"
# WEBLATE_ADMIN_NAME: ""
# WEBLATE_ADMIN_EMAIL: ""
# This sets the password on EVERY app startup
# WEBLATE_ADMIN_PASSWORD: ""
# WEBLATE_AUTO_UPDATE: ""
# WEBLATE_SERVER_EMAIL: ""
# WEBLATE_DEFAULT_FROM_EMAIL: ""
# WEBLATE_CONTACT_FORM: ""
# WEBLATE_REGISTRATION_OPEN: true
# WEBLATE_REGISTRATION_ALLOW_BACKENDS: ""
# WEBLATE_REQUIRE_LOGIN: false
# WEBLATE_LOGIN_REQUIRED_URLS_EXCEPTIONS: ""
# WEBLATE_ADD_LOGIN_REQUIRED_URLS_EXCEPTIONS: ""
# WEBLATE_REMOVE_LOGIN_REQUIRED_URLS_EXCEPTIONS: ""
# WEBLATE_DEFAULT_ACCESS_CONTROL: ""
# WEBLATE_DEFAULT_RESTRICTED_COMPONENT: false
# WEBLATE_DEFAULT_TRANSLATION_PROPAGATION: true
# WEBLATE_DEFAULT_COMMITER_EMAIL: ""
# WEBLATE_DEFAULT_COMMITER_NAME: ""
# WEBLATE_DEFAULT_SHARED_TM: true
# WEBLATE_GPG_IDENTITY: ""
# WEBLATE_DEFAULT_AUTO_WATCH: true
# WEBLATE_GITHUB_USERNAME: ""
# WEBLATE_GITHUB_TOKEN: ""
# WEBLATE_GITLAB_USERNAME: ""
# WEBLATE_GITLAB_TOKEN: ""
# WEBLATE_CSP_SCRIPT_SRC: ""
# WEBLATE_CSP_IMG_SRC: ""
# WEBLATE_CSP_CONNECT_SRC: ""
# WEBLATE_CSP_STYLE_SRC: ""
# WEBLATE_CSP_FONT_SRC: ""
# WEBLATE_WEBSITE_REQUIRED: true
# WEBLATE_SIMPLIFY_LANGUAGES: true
# WEBLATE_DATABASE_BACKUP: ""
# WEBLATE_URL_PREFIX: ""
# WEBLATE_SILENCED_SYSTEM_CHECKS: ""
# WEBLATE_HIDE_VERSION: false
# WEBLATE_BASIC_LANGUAGES: ""
# WEBLATE_ENABLE_AVATARS: true
# WEBLATE_LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH: true
# WEBLATE_ALLOWED_HOSTS: ""
# WEBLATE_ENABLE_HTTPS: false
# WEBLATE_IP_PROXY_HEADER: ""
# WEBLATE_SECURE_PROXY_SSL_HEADER: ""
# WEBLATE_LICENSE_FILTER: ""
# WEBLATE_LICENSE_REQUIRED: false
# WEBLATE_RATELIMIT_ATTEMPTS: ""
# WEBLATE_RATELIMIT_LOCKOUT: ""
# WEBLATE_RATELIMIT_WINDOW: ""
# WEBLATE_DEBUG: false
# WEBLATE_LOGLEVEL: ""
# WEBLATE_GOOGLE_ANALYTICS_ID: ""
# WEBLATE_PAGURE_USERNAME: ""
# WEBLATE_PAGURE_TOKEN: ""
# WEBLATE_AKISMET_API_KEY: ""
# WEBLATE_SSH_EXTRA_ARGS: ""
# WEBLATE_BORG_EXTRA_ARGS: ""
machinetranslate: {}
# WEBLATE_MT_APERTIUM_APY: ""
# WEBLATE_MT_AWS_REGION: ""
# WEBLATE_MT_AWS_ACCESS_KEY_ID: ""
# WEBLATE_MT_AWS_SECRET_ACCESS_KEY: ""
# WEBLATE_MT_DEEPL_KEY: ""
# WEBLATE_MT_DEEPL_API_URL: ""
# WEBLATE_MT_LIBRETRANSLATE_KEY: ""
# WEBLATE_MT_LIBRETRANSLATE_API_URL: ""
# WEBLATE_MT_GOOGLE_KEY: ""
# WEBLATE_MT_GOOGLE_CREDENTIALS: ""
# WEBLATE_MT_GOOGLE_PROJECT: ""
# WEBLATE_MT_GOOGLE_LOCATION: ""
# WEBLATE_MT_MICROSOFT_COGNITIVE_KEY: ""
# WEBLATE_MT_MICROSOFT_ENDPOINT_URL: ""
# WEBLATE_MT_MICROSOFT_REGION: ""
# WEBLATE_MT_MICROSOFT_BASE_URL: ""
# WEBLATE_MT_MODERNMT_KEY: ""
# WEBLATE_MT_MYMEMORY_ENABLED: false
# WEBLATE_MT_GLOSBE_ENABLED: false
# WEBLATE_MT_MICROSOFT_TERMINOLOGY_ENABLED: false
# WEBLATE_MT_SAP_BASE_URL: ""
# WEBLATE_MT_SAP_SANDBOX_APIKEY: ""
# WEBLATE_MT_SAP_USERNAME: ""
# WEBLATE_MT_SAP_PASSWORD: ""
# WEBLATE_MT_SAP_USE_MT: false
auth:
ldap: {}
# WEBLATE_AUTH_LDAP_SERVER_URI: ""
# WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE: ""
# WEBLATE_AUTH_LDAP_USER_ATTR_MAP: ""
# WEBLATE_AUTH_LDAP_BIND_DN: ""
# WEBLATE_AUTH_LDAP_BIND_PASSWORD: ""
# WEBLATE_AUTH_LDAP_CONNECTION_OPTION_REFERRALS: ""
# WEBLATE_AUTH_LDAP_USER_SEARCH: ""
# WEBLATE_AUTH_LDAP_USER_SEARCH_FILTER: ""
# WEBLATE_AUTH_LDAP_USER_SEARCH_UNION: ""
# WEBLATE_AUTH_LDAP_USER_SEARCH_UNION_DELIMITER: ""
github: {}
# WEBLATE_SOCIAL_AUTH_GITHUB_KEY: ""
# WEBLATE_SOCIAL_AUTH_GITHUB_SECRET: ""
# WEBLATE_SOCIAL_AUTH_GITHUB_ORG_KEY: ""
# WEBLATE_SOCIAL_AUTH_GITHUB_ORG_SECRET: ""
# WEBLATE_SOCIAL_AUTH_GITHUB_ORG_NAME: ""
# WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_KEY: ""
# WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_SECRET: ""
# WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_ID: ""
bitbucket: {}
# WEBLATE_SOCIAL_AUTH_BITBUCKET_KEY: ""
# WEBLATE_SOCIAL_AUTH_BITBUCKET_SECRET: ""
facebook: {}
# WEBLATE_SOCIAL_AUTH_FACEBOOK_KEY: ""
# WEBLATE_SOCIAL_AUTH_FACEBOOK_SECRET: ""
google: {}
# WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_KEY: ""
# WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET: ""
# WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS: ""
# WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_EMAILS: ""
gitlab: {}
# WEBLATE_SOCIAL_AUTH_GITLAB_KEY: ""
# WEBLATE_SOCIAL_AUTH_GITLAB_SECRET: ""
# WEBLATE_SOCIAL_AUTH_GITLAB_API_URL: ""
azure: {}
# WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_KEY: ""
# WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET: ""
azuretenant: {}
# WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_KEY: ""
# WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_SECRET: ""
# WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_TENANT_ID: ""
keycloak: {}
# WEBLATE_SOCIAL_AUTH_KEYCLOAK_KEY: ""
# WEBLATE_SOCIAL_AUTH_KEYCLOAK_SECRET: ""
# WEBLATE_SOCIAL_AUTH_KEYCLOAK_PUBLIC_KEY: ""
# WEBLATE_SOCIAL_AUTH_KEYCLOAK_ALGORITHM: ""
# WEBLATE_SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL: ""
# WEBLATE_SOCIAL_AUTH_KEYCLOAK_ACCESS_TOKEN_URL: ""
linux: {}
# WEBLATE_SOCIAL_AUTH_FEDORA: ""
# WEBLATE_SOCIAL_AUTH_OPENSUSE: ""
# WEBLATE_SOCIAL_AUTH_UBUNTU: ""
slack: {}
# WEBLATE_SOCIAL_AUTH_SLACK_KEY: ""
# SOCIAL_AUTH_SLACK_SECRET: ""
saml: {}
# WEBLATE_SAML_IDP_ENTITY_ID: ""
# WEBLATE_SAML_IDP_URL: ""
# WEBLATE_SAML_IDP_X509CERT: ""
email: {}
# WEBLATE_EMAIL_PORT: ""
# WEBLATE_EMAIL_HOST: ""
# WEBLATE_EMAIL_HOST_USER: ""
# WEBLATE_EMAIL_HOST_PASSWORD: ""
# WEBLATE_EMAIL_USE_SSL: false
# WEBLATE_EMAIL_USE_TLS: false
# WEBLATE_EMAIL_BACKEND: ""
siteintegration: {}
# WEBLATE_GET_HELP_URL: ""
# WEBLATE_STATUS_URL: ""
# WEBLATE_LEGAL_URL: ""
# WEBLATE_PRIVACY_URL: ""
errorreport: {}
# ROLLBAR_KEY: ""
# ROLLBAR_ENVIRONMENT: ""
# SENTRY_DSN: ""
# SENTRY_ENVIRONMENT: ""
localization: {}
# WEBLATE_LOCALIZE_CDN_URL: ""
# WEBLATE_LOCALIZE_CDN_PATH: ""
envFrom:
- configMapRef:
name: weblate-env
envValueFrom:
POSTGRES_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
POSTGRES_HOST:
secretKeyRef:
name: dbcreds
key: plainhost
REDIS_HOST:
secretKeyRef:
name: rediscreds
key: plainhost
REDIS_PASSWORD:
secretKeyRef:
name: rediscreds
key: redis-password
probes:
liveness:
path: "/healthz"
readiness:
path: "/healthz"
startup:
path: "/healthz"
service:
main:
ports:
main:
port: 10158
targetPort: 8080
persistence:
config:
enabled: true
mountPath: "/app/data"
cache:
enabled: true
type: emptyDir
mountPath: "/app/cache"
redis:
enabled: true
existingSecret: "rediscreds"
redisUsername: default
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: weblate
postgresqlDatabase: weblate

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,514 @@
{{/* Define the configmap */}}
{{- define "weblate.configmap" -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: weblate-env
data:
{{/* General */}}
{{- if .Values.weblate.general.WEBLATE_SITE_DOMAIN }}
WEBLATE_SITE_DOMAIN: {{ .Values.weblate.general.WEBLATE_SITE_DOMAIN | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_SITE_TITLE }}
WEBLATE_SITE_TITLE: {{ .Values.weblate.general.WEBLATE_SITE_TITLE | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_ADMIN_NAME }}
WEBLATE_ADMIN_NAME: {{ .Values.weblate.general.WEBLATE_ADMIN_NAME | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_ADMIN_EMAIL }}
WEBLATE_ADMIN_EMAIL: {{ .Values.weblate.general.WEBLATE_ADMIN_EMAIL | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_ADMIN_PASSWORD }}
WEBLATE_ADMIN_PASSWORD: {{ .Values.weblate.general.WEBLATE_ADMIN_PASSWORD | quote }}
{{- end }}
{{- if .Values.weblate.WEBLATE_AUTO_UPDATE }}
WEBLATE_AUTO_UPDATE: {{ .Values.weblate.WEBLATE_AUTO_UPDATE | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_SERVER_EMAIL }}
WEBLATE_SERVER_EMAIL: {{ .Values.weblate.general.WEBLATE_SERVER_EMAIL | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_DEFAULT_FROM_EMAIL }}
WEBLATE_DEFAULT_FROM_EMAIL: {{ .Values.weblate.general.WEBLATE_DEFAULT_FROM_EMAIL | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_CONTACT_FORM }}
WEBLATE_CONTACT_FORM: {{ .Values.weblate.general.WEBLATE_CONTACT_FORM | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_ALLOWED_HOSTS }}
WEBLATE_ALLOWED_HOSTS: {{ .Values.weblate.general.WEBLATE_ALLOWED_HOSTS | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_REGISTRATION_OPEN }}
WEBLATE_REGISTRATION_OPEN: "true"
{{- else }}
WEBLATE_REGISTRATION_OPEN: "false"
{{- end }}
{{- if .Values.weblate.general.WEBLATE_REGISTRATION_ALLOW_BACKENDS }}
WEBLATE_REGISTRATION_ALLOW_BACKENDS: {{ .Values.weblate.general.WEBLATE_REGISTRATION_ALLOW_BACKENDS | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_ENABLE_HTTPS }}
WEBLATE_ENABLE_HTTPS: "true"
{{- else }}
WEBLATE_ENABLE_HTTPS: "false"
{{- end }}
{{- if .Values.weblate.general.WEBLATE_IP_PROXY_HEADER }}
WEBLATE_IP_PROXY_HEADER: {{ .Values.weblate.general.WEBLATE_IP_PROXY_HEADER | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_SECURE_PROXY_SSL_HEADER }}
WEBLATE_SECURE_PROXY_SSL_HEADER: {{ .Values.weblate.general.WEBLATE_SECURE_PROXY_SSL_HEADER | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_REQUIRE_LOGIN }}
WEBLATE_REQUIRE_LOGIN: "true"
{{- else }}
WEBLATE_REQUIRE_LOGIN: "false"
{{- end }}
{{- if .Values.weblate.general.WEBLATE_LOGIN_REQUIRED_URLS_EXCEPTIONS }}
WEBLATE_LOGIN_REQUIRED_URLS_EXCEPTIONS: {{ .Values.weblate.general.WEBLATE_LOGIN_REQUIRED_URLS_EXCEPTIONS | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_ADD_LOGIN_REQUIRED_URLS_EXCEPTIONS }}
WEBLATE_ADD_LOGIN_REQUIRED_URLS_EXCEPTIONS: {{ .Values.weblate.general.WEBLATE_ADD_LOGIN_REQUIRED_URLS_EXCEPTIONS | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_REMOVE_LOGIN_REQUIRED_URLS_EXCEPTIONS }}
WEBLATE_REMOVE_LOGIN_REQUIRED_URLS_EXCEPTIONS: {{ .Values.weblate.general.WEBLATE_REMOVE_LOGIN_REQUIRED_URLS_EXCEPTIONS | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_GOOGLE_ANALYTICS_ID }}
WEBLATE_GOOGLE_ANALYTICS_ID: {{ .Values.weblate.general.WEBLATE_GOOGLE_ANALYTICS_ID | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_GITHUB_USERNAME }}
WEBLATE_GITHUB_USERNAME: {{ .Values.weblate.general.WEBLATE_GITHUB_USERNAME | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_GITHUB_TOKEN }}
WEBLATE_GITHUB_TOKEN: {{ .Values.weblate.general.WEBLATE_GITHUB_TOKEN | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_GITLAB_USERNAME }}
WEBLATE_GITLAB_USERNAME: {{ .Values.weblate.general.WEBLATE_GITLAB_USERNAME | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_GITLAB_TOKEN }}
WEBLATE_GITLAB_TOKEN: {{ .Values.weblate.general.WEBLATE_GITLAB_TOKEN | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_PAGURE_USERNAME }}
WEBLATE_PAGURE_USERNAME: {{ .Values.weblate.general.WEBLATE_PAGURE_USERNAME | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_PAGURE_TOKEN }}
WEBLATE_PAGURE_TOKEN: {{ .Values.weblate.general.WEBLATE_PAGURE_TOKEN | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_SIMPLIFY_LANGUAGES }}
WEBLATE_SIMPLIFY_LANGUAGES: "true"
{{- else }}
WEBLATE_SIMPLIFY_LANGUAGES: "false"
{{- end }}
{{- if .Values.weblate.general.WEBLATE_DEFAULT_ACCESS_CONTROL }}
WEBLATE_DEFAULT_ACCESS_CONTROL: {{ .Values.weblate.general.WEBLATE_DEFAULT_ACCESS_CONTROL | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_DEFAULT_RESTRICTED_COMPONENT }}
WEBLATE_DEFAULT_RESTRICTED_COMPONENT: "true"
{{- else }}
WEBLATE_DEFAULT_RESTRICTED_COMPONENT: "false"
{{- end }}
{{- if .Values.weblate.general.WEBLATE_DEFAULT_TRANSLATION_PROPAGATION }}
WEBLATE_DEFAULT_TRANSLATION_PROPAGATION: "true"
{{- else }}
WEBLATE_DEFAULT_TRANSLATION_PROPAGATION: "false"
{{- end }}
{{- if .Values.weblate.general.WEBLATE_DEFAULT_COMMITER_EMAIL }}
WEBLATE_DEFAULT_COMMITER_EMAIL: {{ .Values.weblate.general.WEBLATE_DEFAULT_COMMITER_EMAIL | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_DEFAULT_COMMITER_NAME }}
WEBLATE_DEFAULT_COMMITER_NAME: {{ .Values.weblate.general.WEBLATE_DEFAULT_COMMITER_NAME | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_DEFAULT_SHARED_TM }}
WEBLATE_DEFAULT_SHARED_TM: "true"
{{- else }}
WEBLATE_DEFAULT_SHARED_TM: "false"
{{- end }}
{{- if .Values.weblate.general.WEBLATE_AKISMET_API_KEY }}
WEBLATE_AKISMET_API_KEY: {{ .Values.weblate.general.WEBLATE_AKISMET_API_KEY | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_GPG_IDENTITY }}
WEBLATE_GPG_IDENTITY: {{ .Values.weblate.general.WEBLATE_GPG_IDENTITY | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_URL_PREFIX }}
WEBLATE_URL_PREFIX: {{ .Values.weblate.general.WEBLATE_URL_PREFIX | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_SILENCED_SYSTEM_CHECKS }}
WEBLATE_SILENCED_SYSTEM_CHECKS: {{ .Values.weblate.general.WEBLATE_SILENCED_SYSTEM_CHECKS | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_CSP_SCRIPT_SRC }}
WEBLATE_CSP_SCRIPT_SRC: {{ .Values.weblate.general.WEBLATE_CSP_SCRIPT_SRC | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_CSP_IMG_SRC }}
WEBLATE_CSP_IMG_SRC: {{ .Values.weblate.general.WEBLATE_CSP_IMG_SRC | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_CSP_CONNECT_SRC }}
WEBLATE_CSP_CONNECT_SRC: {{ .Values.weblate.general.WEBLATE_CSP_CONNECT_SRC | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_CSP_STYLE_SRC }}
WEBLATE_CSP_STYLE_SRC: {{ .Values.weblate.general.WEBLATE_CSP_STYLE_SRC | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_CSP_FONT_SRC }}
WEBLATE_CSP_FONT_SRC: {{ .Values.weblate.general.WEBLATE_CSP_FONT_SRC | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_LICENSE_FILTER }}
WEBLATE_LICENSE_FILTER: {{ .Values.weblate.general.WEBLATE_LICENSE_FILTER | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_LICENSE_REQUIRED }}
WEBLATE_LICENSE_REQUIRED: "true"
{{- else }}
WEBLATE_LICENSE_REQUIRED: "false"
{{- end }}
{{- if .Values.weblate.general.WEBLATE_WEBSITE_REQUIRED }}
WEBLATE_WEBSITE_REQUIRED: "true"
{{- else }}
WEBLATE_WEBSITE_REQUIRED: "false"
{{- end }}
{{- if .Values.weblate.general.WEBLATE_HIDE_VERSION }}
WEBLATE_HIDE_VERSION: "true"
{{- else }}
WEBLATE_HIDE_VERSION: "false"
{{- end }}
{{- if .Values.weblate.general.WEBLATE_BASIC_LANGUAGES }}
WEBLATE_BASIC_LANGUAGES: {{ .Values.weblate.general.WEBLATE_BASIC_LANGUAGES | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_DEFAULT_AUTO_WATCH }}
WEBLATE_DEFAULT_AUTO_WATCH: "true"
{{- else }}
WEBLATE_DEFAULT_AUTO_WATCH: "false"
{{- end }}
{{- if .Values.weblate.general.WEBLATE_RATELIMIT_ATTEMPTS }}
WEBLATE_RATELIMIT_ATTEMPTS: {{ .Values.weblate.general.WEBLATE_RATELIMIT_ATTEMPTS | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_RATELIMIT_LOCKOUT }}
WEBLATE_RATELIMIT_LOCKOUT: {{ .Values.weblate.general.WEBLATE_RATELIMIT_LOCKOUT | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_RATELIMIT_WINDOW }}
WEBLATE_RATELIMIT_WINDOW: {{ .Values.weblate.general.WEBLATE_RATELIMIT_WINDOW | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_ENABLE_AVATARS }}
WEBLATE_ENABLE_AVATARS: "true"
{{- else }}
WEBLATE_ENABLE_AVATARS: "false"
{{- end }}
{{- if .Values.weblate.general.WEBLATE_LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH }}
WEBLATE_LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH: "true"
{{- else }}
WEBLATE_LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH: "false"
{{- end }}
{{- if .Values.weblate.general.WEBLATE_SSH_EXTRA_ARGS }}
WEBLATE_SSH_EXTRA_ARGS: {{ .Values.weblate.general.WEBLATE_SSH_EXTRA_ARGS | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_BORG_EXTRA_ARGS }}
WEBLATE_BORG_EXTRA_ARGS: {{ .Values.weblate.general.WEBLATE_BORG_EXTRA_ARGS | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_DATABASE_BACKUP }}
WEBLATE_DATABASE_BACKUP: {{ .Values.weblate.general.WEBLATE_DATABASE_BACKUP | quote }}
{{- end }}
{{- if .Values.weblate.general.WEBLATE_DEBUG }}
WEBLATE_DEBUG: "true"
{{- else }}
WEBLATE_DEBUG: "false"
{{- end }}
{{- if .Values.weblate.general.WEBLATE_LOGLEVEL }}
WEBLATE_LOGLEVEL: {{ .Values.weblate.general.WEBLATE_LOGLEVEL | quote }}
{{- end }}
{{/* Machine Translation */}}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_APERTIUM_APY }}
WEBLATE_MT_APERTIUM_APY: {{ .Values.weblate.machinetranslate.WEBLATE_MT_APERTIUM_APY | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_AWS_REGION }}
WEBLATE_MT_AWS_REGION: {{ .Values.weblate.machinetranslate.WEBLATE_MT_AWS_REGION | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_AWS_ACCESS_KEY_ID }}
WEBLATE_MT_AWS_ACCESS_KEY_ID: {{ .Values.weblate.machinetranslate.WEBLATE_MT_AWS_ACCESS_KEY_ID | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_AWS_SECRET_ACCESS_KEY }}
WEBLATE_MT_AWS_SECRET_ACCESS_KEY: {{ .Values.weblate.machinetranslate.WEBLATE_MT_AWS_SECRET_ACCESS_KEY | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_DEEPL_KEY }}
WEBLATE_MT_DEEPL_KEY: {{ .Values.weblate.machinetranslate.WEBLATE_MT_DEEPL_KEY | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_DEEPL_API_URL }}
WEBLATE_MT_DEEPL_API_URL: {{ .Values.weblate.machinetranslate.WEBLATE_MT_DEEPL_API_URL | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_LIBRETRANSLATE_KEY }}
WEBLATE_MT_LIBRETRANSLATE_KEY: {{ .Values.weblate.machinetranslate.WEBLATE_MT_LIBRETRANSLATE_KEY | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_LIBRETRANSLATE_API_URL }}
WEBLATE_MT_LIBRETRANSLATE_API_URL: {{ .Values.weblate.machinetranslate.WEBLATE_MT_LIBRETRANSLATE_API_URL | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_GOOGLE_KEY }}
WEBLATE_MT_GOOGLE_KEY: {{ .Values.weblate.machinetranslate.WEBLATE_MT_GOOGLE_KEY | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_GOOGLE_CREDENTIALS }}
WEBLATE_MT_GOOGLE_CREDENTIALS: {{ .Values.weblate.machinetranslate.WEBLATE_MT_GOOGLE_CREDENTIALS | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_GOOGLE_PROJECT }}
WEBLATE_MT_GOOGLE_PROJECT: {{ .Values.weblate.machinetranslate.WEBLATE_MT_GOOGLE_PROJECT | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_GOOGLE_LOCATION }}
WEBLATE_MT_GOOGLE_LOCATION: {{ .Values.weblate.machinetranslate.WEBLATE_MT_GOOGLE_LOCATION | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_MICROSOFT_COGNITIVE_KEY }}
WEBLATE_MT_MICROSOFT_COGNITIVE_KEY: {{ .Values.weblate.machinetranslate.WEBLATE_MT_MICROSOFT_COGNITIVE_KEY | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_MICROSOFT_ENDPOINT_URL }}
WEBLATE_MT_MICROSOFT_ENDPOINT_URL: {{ .Values.weblate.machinetranslate.WEBLATE_MT_MICROSOFT_ENDPOINT_URL | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_MICROSOFT_REGION }}
WEBLATE_MT_MICROSOFT_REGION: {{ .Values.weblate.machinetranslate.WEBLATE_MT_MICROSOFT_REGION | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_MICROSOFT_BASE_URL }}
WEBLATE_MT_MICROSOFT_BASE_URL: {{ .Values.weblate.machinetranslate.WEBLATE_MT_MICROSOFT_BASE_URL | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_MODERNMT_KEY }}
WEBLATE_MT_MODERNMT_KEY: {{ .Values.weblate.machinetranslate.WEBLATE_MT_MODERNMT_KEY | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_MYMEMORY_ENABLED }}
WEBLATE_MT_MYMEMORY_ENABLED: "true"
{{- else }}
WEBLATE_MT_MYMEMORY_ENABLED: "false"
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_GLOSBE_ENABLED }}
WEBLATE_MT_GLOSBE_ENABLED: "true"
{{- else }}
WEBLATE_MT_GLOSBE_ENABLED: "false"
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_MICROSOFT_TERMINOLOGY_ENABLED }}
WEBLATE_MT_MICROSOFT_TERMINOLOGY_ENABLED: "true"
{{- else }}
WEBLATE_MT_MICROSOFT_TERMINOLOGY_ENABLED: "false"
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_SAP_BASE_URL }}
WEBLATE_MT_SAP_BASE_URL: {{ .Values.weblate.machinetranslate.WEBLATE_MT_SAP_BASE_URL | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_SAP_SANDBOX_APIKEY }}
WEBLATE_MT_SAP_SANDBOX_APIKEY: {{ .Values.weblate.machinetranslate.WEBLATE_MT_SAP_SANDBOX_APIKEY | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_SAP_USERNAME }}
WEBLATE_MT_SAP_USERNAME: {{ .Values.weblate.machinetranslate.WEBLATE_MT_SAP_USERNAME | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_SAP_PASSWORD }}
WEBLATE_MT_SAP_PASSWORD: {{ .Values.weblate.machinetranslate.WEBLATE_MT_SAP_PASSWORD | quote }}
{{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_SAP_USE_MT }}
WEBLATE_MT_SAP_USE_MT: "true"
{{- else }}
WEBLATE_MT_SAP_USE_MT: "false"
{{- end }}
{{/* Authentication */}}
{{/* LDAP */}}
{{- if .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_SERVER_URI }}
WEBLATE_AUTH_LDAP_SERVER_URI: {{ .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_SERVER_URI | quote }}
{{- end }}
{{- if .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE }}
WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE: {{ .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE | quote }}
{{- end }}
{{- if .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_USER_ATTR_MAP }}
WEBLATE_AUTH_LDAP_USER_ATTR_MAP: {{ .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_USER_ATTR_MAP | quote }}
{{- end }}
{{- if .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_BIND_DN }}
WEBLATE_AUTH_LDAP_BIND_DN: {{ .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_BIND_DN | quote }}
{{- end }}
{{- if .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_BIND_PASSWORD }}
WEBLATE_AUTH_LDAP_BIND_PASSWORD: {{ .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_BIND_PASSWORD | quote }}
{{- end }}
{{- if .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_CONNECTION_OPTION_REFERRALS }}
WEBLATE_AUTH_LDAP_CONNECTION_OPTION_REFERRALS: "true"
{{- else }}
WEBLATE_AUTH_LDAP_CONNECTION_OPTION_REFERRALS: "false"
{{- end }}
{{- if .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_USER_SEARCH }}
WEBLATE_AUTH_LDAP_USER_SEARCH: {{ .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_USER_SEARCH | quote }}
{{- end }}
{{- if .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_USER_SEARCH_FILTER }}
WEBLATE_AUTH_LDAP_USER_SEARCH_FILTER: {{ .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_USER_SEARCH_FILTER | quote }}
{{- end }}
{{- if .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_USER_SEARCH_UNION }}
WEBLATE_AUTH_LDAP_USER_SEARCH_UNION: {{ .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_USER_SEARCH_UNION | quote }}
{{- end }}
{{- if .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_USER_SEARCH_UNION_DELIMITER }}
WEBLATE_AUTH_LDAP_USER_SEARCH_UNION_DELIMITER: {{ .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_USER_SEARCH_UNION_DELIMITER | quote }}
{{- end }}
{{/* Github */}}
{{- if .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_KEY }}
WEBLATE_SOCIAL_AUTH_GITHUB_KEY: {{ .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_KEY | quote }}
{{- end }}
{{- if .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_SECRET }}
WEBLATE_SOCIAL_AUTH_GITHUB_SECRET: {{ .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_SECRET | quote }}
{{- end }}
{{- if .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_ORG_KEY }}
WEBLATE_SOCIAL_AUTH_GITHUB_ORG_KEY: {{ .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_ORG_KEY | quote }}
{{- end }}
{{- if .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_ORG_SECRET }}
WEBLATE_SOCIAL_AUTH_GITHUB_ORG_SECRET: {{ .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_ORG_SECRET | quote }}
{{- end }}
{{- if .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_ORG_NAME }}
WEBLATE_SOCIAL_AUTH_GITHUB_ORG_NAME: {{ .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_ORG_NAME | quote }}
{{- end }}
{{- if .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_KEY }}
WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_KEY: {{ .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_KEY | quote }}
{{- end }}
{{- if .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_SECRET }}
WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_SECRET: {{ .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_SECRET | quote }}
{{- end }}
{{- if .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_ID }}
WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_ID: {{ .Values.weblate.auth.github.WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_ID | quote }}
{{- end }}
{{/* Bitbucket */}}
{{- if .Values.weblate.auth.bitbucket.WEBLATE_SOCIAL_AUTH_BITBUCKET_KEY }}
WEBLATE_SOCIAL_AUTH_BITBUCKET_KEY: {{ .Values.weblate.auth.bitbucket.WEBLATE_SOCIAL_AUTH_BITBUCKET_KEY | quote }}
{{- end }}
{{- if .Values.weblate.auth.bitbucket.WEBLATE_SOCIAL_AUTH_BITBUCKET_SECRET }}
WEBLATE_SOCIAL_AUTH_BITBUCKET_SECRET: {{ .Values.weblate.auth.bitbucket.WEBLATE_SOCIAL_AUTH_BITBUCKET_SECRET | quote }}
{{- end }}
{{/* Facebook */}}
{{- if .Values.weblate.auth.facebook.WEBLATE_SOCIAL_AUTH_FACEBOOK_KEY }}
WEBLATE_SOCIAL_AUTH_FACEBOOK_KEY: {{ .Values.weblate.auth.facebook.WEBLATE_SOCIAL_AUTH_FACEBOOK_KEY | quote }}
{{- end }}
{{- if .Values.weblate.auth.facebook.WEBLATE_SOCIAL_AUTH_FACEBOOK_SECRET }}
WEBLATE_SOCIAL_AUTH_FACEBOOK_SECRET: {{ .Values.weblate.auth.facebook.WEBLATE_SOCIAL_AUTH_FACEBOOK_SECRET | quote }}
{{- end }}
{{/* Google */}}
{{- if .Values.weblate.auth.google.WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_KEY }}
WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_KEY: {{ .Values.weblate.auth.google.WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_KEY | quote }}
{{- end }}
{{- if .Values.weblate.auth.google.WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET }}
WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET: {{ .Values.weblate.auth.google.WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET | quote }}
{{- end }}
{{- if .Values.weblate.auth.google.WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS }}
WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS: {{ .Values.weblate.auth.google.WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS | quote }}
{{- end }}
{{- if .Values.weblate.auth.google.WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_EMAILS }}
WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_EMAILS: {{ .Values.weblate.auth.google.WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_EMAILS | quote }}
{{- end }}
{{/* GitLab */}}
{{- if .Values.weblate.auth.gitlab.WEBLATE_SOCIAL_AUTH_GITLAB_KEY }}
WEBLATE_SOCIAL_AUTH_GITLAB_KEY: {{ .Values.weblate.auth.gitlab.WEBLATE_SOCIAL_AUTH_GITLAB_KEY | quote }}
{{- end }}
{{- if .Values.weblate.auth.gitlab.WEBLATE_SOCIAL_AUTH_GITLAB_SECRET }}
WEBLATE_SOCIAL_AUTH_GITLAB_SECRET: {{ .Values.weblate.auth.gitlab.WEBLATE_SOCIAL_AUTH_GITLAB_SECRET | quote }}
{{- end }}
{{- if .Values.weblate.auth.gitlab.WEBLATE_SOCIAL_AUTH_GITLAB_API_URL }}
WEBLATE_SOCIAL_AUTH_GITLAB_API_URL: {{ .Values.weblate.auth.gitlab.WEBLATE_SOCIAL_AUTH_GITLAB_API_URL | quote }}
{{- end }}
{{/* Azure Active Directory */}}
{{- if .Values.weblate.auth.azure.WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_KEY }}
WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_KEY: {{ .Values.weblate.auth.azure.WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_KEY | quote }}
{{- end }}
{{- if .Values.weblate.auth.azure.WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET }}
WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET: {{ .Values.weblate.auth.azure.WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET | quote }}
{{- end }}
{{/* Azure Active Directory with Tenant support */}}
{{- if .Values.weblate.auth.azuretenant.WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_KEY }}
WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_KEY: {{ .Values.weblate.auth.azuretenant.WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_KEY | quote }}
{{- end }}
{{- if .Values.weblate.auth.azuretenant.WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_SECRET }}
WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_SECRET: {{ .Values.weblate.auth.azuretenant.WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_SECRET | quote }}
{{- end }}
{{- if .Values.weblate.auth.azuretenant.WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_TENANT_ID }}
WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_TENANT_ID: {{ .Values.weblate.auth.azuretenant.WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_TENANT_ID | quote }}
{{- end }}
{{/* Keycloak */}}
{{- if .Values.weblate.auth.keycloak.WEBLATE_SOCIAL_AUTH_KEYCLOAK_KEY }}
WEBLATE_SOCIAL_AUTH_KEYCLOAK_KEY: {{ .Values.weblate.auth.keycloak.WEBLATE_SOCIAL_AUTH_KEYCLOAK_KEY | quote }}
{{- end }}
{{- if .Values.weblate.auth.keycloak.WEBLATE_SOCIAL_AUTH_KEYCLOAK_SECRET }}
WEBLATE_SOCIAL_AUTH_KEYCLOAK_SECRET: {{ .Values.weblate.auth.keycloak.WEBLATE_SOCIAL_AUTH_KEYCLOAK_SECRET | quote }}
{{- end }}
{{- if .Values.weblate.auth.keycloak.WEBLATE_SOCIAL_AUTH_KEYCLOAK_PUBLIC_KEY }}
WEBLATE_SOCIAL_AUTH_KEYCLOAK_PUBLIC_KEY: {{ .Values.weblate.auth.keycloak.WEBLATE_SOCIAL_AUTH_KEYCLOAK_PUBLIC_KEY | quote }}
{{- end }}
{{- if .Values.weblate.auth.keycloak.WEBLATE_SOCIAL_AUTH_KEYCLOAK_ALGORITHM }}
WEBLATE_SOCIAL_AUTH_KEYCLOAK_ALGORITHM: {{ .Values.weblate.auth.keycloak.WEBLATE_SOCIAL_AUTH_KEYCLOAK_ALGORITHM | quote }}
{{- end }}
{{- if .Values.weblate.auth.keycloak.WEBLATE_SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL }}
WEBLATE_SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL: {{ .Values.weblate.auth.keycloak.WEBLATE_SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL | quote }}
{{- end }}
{{- if .Values.weblate.auth.keycloak.WEBLATE_SOCIAL_AUTH_KEYCLOAK_ACCESS_TOKEN_URL }}
WEBLATE_SOCIAL_AUTH_KEYCLOAK_ACCESS_TOKEN_URL: {{ .Values.weblate.auth.keycloak.WEBLATE_SOCIAL_AUTH_KEYCLOAK_ACCESS_TOKEN_URL | quote }}
{{- end }}
{{/* Linux vendors */}}
{{- if .Values.weblate.auth.linux.WEBLATE_SOCIAL_AUTH_FEDORA }}
WEBLATE_SOCIAL_AUTH_FEDORA: "true"
{{- end }}
{{- if .Values.weblate.auth.linux.WEBLATE_SOCIAL_AUTH_OPENSUSE }}
WEBLATE_SOCIAL_AUTH_OPENSUSE: "true"
{{- end }}
{{- if .Values.weblate.auth.linux.WEBLATE_SOCIAL_AUTH_UBUNTU }}
WEBLATE_SOCIAL_AUTH_UBUNTU: "true"
{{- end }}
{{/* Slack */}}
{{- if .Values.weblate.auth.slack.WEBLATE_SOCIAL_AUTH_SLACK_KEY }}
WEBLATE_SOCIAL_AUTH_SLACK_KEY: {{ .Values.weblate.auth.slack.WEBLATE_SOCIAL_AUTH_SLACK_KEY | quote }}
{{- end }}
{{- if .Values.weblate.auth.slack.SOCIAL_AUTH_SLACK_SECRET }}
SOCIAL_AUTH_SLACK_SECRET: {{ .Values.weblate.auth.slack.SOCIAL_AUTH_SLACK_SECRET }}
{{- end }}
{{/* SAML */}}
{{- if .Values.weblate.auth.saml.WEBLATE_SAML_IDP_ENTITY_ID }}
WEBLATE_SAML_IDP_ENTITY_ID: {{ .Values.weblate.auth.saml.WEBLATE_SAML_IDP_ENTITY_ID | quote }}
{{- end }}
{{- if .Values.weblate.auth.saml.WEBLATE_SAML_IDP_URL }}
WEBLATE_SAML_IDP_URL: {{ .Values.weblate.auth.saml.WEBLATE_SAML_IDP_URL | quote }}
{{- end }}
{{- if .Values.weblate.auth.saml.WEBLATE_SAML_IDP_X509CERT }}
WEBLATE_SAML_IDP_X509CERT: {{ .Values.weblate.auth.saml.WEBLATE_SAML_IDP_X509CERT | quote }}
{{- end }}
{{/* Email Server */}}
{{- if .Values.weblate.email.WEBLATE_EMAIL_HOST }}
WEBLATE_EMAIL_HOST: {{ .Values.weblate.email.WEBLATE_EMAIL_HOST | quote }}
{{- end }}
{{- if .Values.weblate.email.WEBLATE_EMAIL_PORT }}
WEBLATE_EMAIL_PORT: {{ .Values.weblate.email.WEBLATE_EMAIL_PORT | quote }}
{{- end }}
{{- if .Values.weblate.email.WEBLATE_EMAIL_HOST_USER }}
WEBLATE_EMAIL_HOST_USER: {{ .Values.weblate.email.WEBLATE_EMAIL_HOST_USER | quote }}
{{- end }}
{{- if .Values.weblate.email.WEBLATE_EMAIL_HOST_PASSWORD }}
WEBLATE_EMAIL_HOST_PASSWORD: {{ .Values.weblate.email.WEBLATE_EMAIL_HOST_PASSWORD | quote }}
{{- end }}
{{- if .Values.weblate.email.WEBLATE_EMAIL_USE_SSL }}
WEBLATE_EMAIL_USE_SSL: "true"
{{- else }}
WEBLATE_EMAIL_USE_SSL: "false"
{{- end }}
{{- if .Values.weblate.email.WEBLATE_EMAIL_USE_TLS }}
WEBLATE_EMAIL_USE_TLS: "true"
{{- else }}
WEBLATE_EMAIL_USE_TLS: "false"
{{- end }}
{{- if .Values.weblate.email.WEBLATE_EMAIL_BACKEND }}
WEBLATE_EMAIL_BACKEND: {{ .Values.weblate.email.WEBLATE_EMAIL_BACKEND | quote }}
{{- end }}
{{/* Site Integration */}}
{{- if .Values.weblate.siteintegration.WEBLATE_GET_HELP_URL }}
WEBLATE_GET_HELP_URL: {{ .Values.weblate.siteintegration.WEBLATE_GET_HELP_URL | quote }}
{{- end }}
{{- if .Values.weblate.siteintegration.WEBLATE_STATUS_URL }}
WEBLATE_STATUS_URL: {{ .Values.weblate.siteintegration.WEBLATE_STATUS_URL | quote }}
{{- end }}
{{- if .Values.weblate.siteintegration.WEBLATE_LEGAL_URL }}
WEBLATE_LEGAL_URL: {{ .Values.weblate.siteintegration.WEBLATE_LEGAL_URL | quote }}
{{- end }}
{{- if .Values.weblate.siteintegration.WEBLATE_PRIVACY_URL }}
WEBLATE_PRIVACY_URL: {{ .Values.weblate.siteintegration.WEBLATE_PRIVACY_URL | quote }}
{{- end }}
{{/* Error Reporting */}}
{{- if .Values.weblate.errorreport.ROLLBAR_KEY }}
ROLLBAR_KEY: {{ .Values.weblate.REPALCEME.ROLLBAR_KEY | quote }}
{{- end }}
{{- if .Values.weblate.errorreport.ROLLBAR_ENVIRONMENT }}
ROLLBAR_ENVIRONMENT: {{ .Values.weblate.REPALCEME.ROLLBAR_ENVIRONMENT | quote }}
{{- end }}
{{- if .Values.weblate.errorreport.SENTRY_DSN }}
SENTRY_DSN: {{ .Values.weblate.REPALCEME.SENTRY_DSN | quote }}
{{- end }}
{{- if .Values.weblate.errorreport.SENTRY_ENVIRONMENT }}
SENTRY_ENVIRONMENT: {{ .Values.weblate.REPALCEME.SENTRY_ENVIRONMENT | quote }}
{{- end }}
{{/* Localization CDN */}}
{{- if .Values.weblate.localization.WEBLATE_LOCALIZE_CDN_URL }}
WEBLATE_LOCALIZE_CDN_URL: {{ .Values.weblate.localization.WEBLATE_LOCALIZE_CDN_URL | quote }}
{{- end }}
{{- if .Values.weblate.localization.WEBLATE_LOCALIZE_CDN_PATH }}
WEBLATE_LOCALIZE_CDN_PATH: {{ .Values.weblate.localization.WEBLATE_LOCALIZE_CDN_PATH | quote }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,8 @@
{{/* Make sure all variables are set properly */}}
{{ include "common.setup" . }}
{{/* Render configmap for weblate */}}
{{- include "weblate.configmap" . }}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}

View File

4
stable/weblate/item.yaml Normal file
View File

@ -0,0 +1,4 @@
icon_url: https://truecharts.org/_static/img/appicons/weblate-icon.png
categories:
- media