fix(weblate): fix UI, configmap and runAsGroup: 0 (#1813)

* allow false values on some vars on configmap

* restructure UI

* bump

* runasgroup 0

* lets check something.

* fix configmap

* hmm

* try fix configmap

* whoops

* ugh

* ..

* quote..

* run as root group.
This commit is contained in:
Stavros Kois
2022-01-31 00:46:11 +01:00
committed by GitHub
parent 9c9769fdd7
commit cd039018fb
4 changed files with 561 additions and 454 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ sources:
- https://github.com/WeblateOrg/docker - https://github.com/WeblateOrg/docker
- https://github.com/WeblateOrg/docker-compose - https://github.com/WeblateOrg/docker-compose
- https://docs.weblate.org/en/latest/ - https://docs.weblate.org/en/latest/
version: 0.0.1 version: 0.0.2
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media
+473 -408
View File
@@ -395,7 +395,7 @@ questions:
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
schema: schema:
type: boolean type: boolean
default: true default: false
- variable: WEBLATE_BASIC_LANGUAGES - variable: WEBLATE_BASIC_LANGUAGES
label: "WEBLATE_BASIC_LANGUAGES (Leave empty for default)" label: "WEBLATE_BASIC_LANGUAGES (Leave empty for default)"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
@@ -653,413 +653,478 @@ questions:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: enabled - variable: ldap
label: "Show Authentication Settings" label: "LDAP Authentication Configuration"
schema: schema:
type: boolean additional_attrs: true
default: false type: dict
show_subquestions_if: true attrs:
subquestions: - variable: enabled
- variable: enabledldap label: "Show LDAP Authentication Settings"
label: "Show LDAP Authentication Settings" schema:
schema: type: boolean
type: boolean default: false
default: false show_subquestions_if: true
show_subquestions_if: true subquestions:
subquestions: - variable: WEBLATE_AUTH_LDAP_SERVER_URI
- variable: WEBLATE_AUTH_LDAP_SERVER_URI label: "WEBLATE_AUTH_LDAP_SERVER_URI (Leave empty for default)"
label: "WEBLATE_AUTH_LDAP_SERVER_URI (Leave empty for default)" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: string
type: string default: ""
default: "" - variable: WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE
- variable: WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE label: "WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE (Leave empty for default)"
label: "WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE (Leave empty for default)" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: string
type: string default: ""
default: "" - variable: WEBLATE_AUTH_LDAP_USER_ATTR_MAP
- variable: WEBLATE_AUTH_LDAP_USER_ATTR_MAP label: "WEBLATE_AUTH_LDAP_USER_ATTR_MAP (Leave empty for default)"
label: "WEBLATE_AUTH_LDAP_USER_ATTR_MAP (Leave empty for default)" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: string
type: string default: ""
default: "" - variable: WEBLATE_AUTH_LDAP_BIND_DN
- variable: WEBLATE_AUTH_LDAP_BIND_DN label: "WEBLATE_AUTH_LDAP_BIND_DN (Leave empty for default)"
label: "WEBLATE_AUTH_LDAP_BIND_DN (Leave empty for default)" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: string
type: string default: ""
default: "" - variable: WEBLATE_AUTH_LDAP_BIND_PASSWORD
- variable: WEBLATE_AUTH_LDAP_BIND_PASSWORD label: "WEBLATE_AUTH_LDAP_BIND_PASSWORD (Leave empty for default)"
label: "WEBLATE_AUTH_LDAP_BIND_PASSWORD (Leave empty for default)" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: string
type: string private: true
private: true default: ""
default: "" - variable: WEBLATE_AUTH_LDAP_CONNECTION_OPTION_REFERRALS
- variable: WEBLATE_AUTH_LDAP_CONNECTION_OPTION_REFERRALS label: "WEBLATE_AUTH_LDAP_CONNECTION_OPTION_REFERRALS"
label: "WEBLATE_AUTH_LDAP_CONNECTION_OPTION_REFERRALS" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: boolean
type: boolean default: false
default: false - variable: WEBLATE_AUTH_LDAP_USER_SEARCH
- variable: WEBLATE_AUTH_LDAP_USER_SEARCH label: "WEBLATE_AUTH_LDAP_USER_SEARCH (Leave empty for default)"
label: "WEBLATE_AUTH_LDAP_USER_SEARCH (Leave empty for default)" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: string
type: string default: ""
default: "" - variable: WEBLATE_AUTH_LDAP_USER_SEARCH_FILTER
- variable: WEBLATE_AUTH_LDAP_USER_SEARCH_FILTER label: "WEBLATE_AUTH_LDAP_USER_SEARCH_FILTER (Leave empty for default)"
label: "WEBLATE_AUTH_LDAP_USER_SEARCH_FILTER (Leave empty for default)" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: string
type: string default: ""
default: "" - variable: WEBLATE_AUTH_LDAP_USER_SEARCH_UNION
- variable: WEBLATE_AUTH_LDAP_USER_SEARCH_UNION label: "WEBLATE_AUTH_LDAP_USER_SEARCH_UNION (Leave empty for default)"
label: "WEBLATE_AUTH_LDAP_USER_SEARCH_UNION (Leave empty for default)" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: string
type: string default: ""
default: "" - variable: WEBLATE_AUTH_LDAP_USER_SEARCH_UNION_DELIMITER
- variable: WEBLATE_AUTH_LDAP_USER_SEARCH_UNION_DELIMITER label: "WEBLATE_AUTH_LDAP_USER_SEARCH_UNION_DELIMITER (Leave empty for default)"
label: "WEBLATE_AUTH_LDAP_USER_SEARCH_UNION_DELIMITER (Leave empty for default)" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: string
type: string default: ""
default: "" - variable: github
- variable: enabledgithub label: "Github Authentication Configuration"
label: "Show Github Authentication Settings" schema:
schema: additional_attrs: true
type: boolean type: dict
default: false attrs:
show_subquestions_if: true - variable: enabled
subquestions: label: "Show Github Authentication Settings"
- variable: WEBLATE_SOCIAL_AUTH_GITHUB_KEY schema:
label: "WEBLATE_SOCIAL_AUTH_GITHUB_KEY (Leave empty for default)" type: boolean
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" default: false
schema: show_subquestions_if: true
type: string subquestions:
private: true - variable: WEBLATE_SOCIAL_AUTH_GITHUB_KEY
default: "" label: "WEBLATE_SOCIAL_AUTH_GITHUB_KEY (Leave empty for default)"
- variable: WEBLATE_SOCIAL_AUTH_GITHUB_SECRET description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
label: "WEBLATE_SOCIAL_AUTH_GITHUB_SECRET (Leave empty for default)" schema:
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" type: string
schema: private: true
type: string default: ""
private: true - variable: WEBLATE_SOCIAL_AUTH_GITHUB_SECRET
default: "" label: "WEBLATE_SOCIAL_AUTH_GITHUB_SECRET (Leave empty for default)"
- variable: WEBLATE_SOCIAL_AUTH_GITHUB_ORG_KEY description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
label: "WEBLATE_SOCIAL_AUTH_GITHUB_ORG_KEY (Leave empty for default)" schema:
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" type: string
schema: private: true
type: string default: ""
private: true - variable: WEBLATE_SOCIAL_AUTH_GITHUB_ORG_KEY
default: "" label: "WEBLATE_SOCIAL_AUTH_GITHUB_ORG_KEY (Leave empty for default)"
- variable: WEBLATE_SOCIAL_AUTH_GITHUB_ORG_SECRET description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
label: "WEBLATE_SOCIAL_AUTH_GITHUB_ORG_SECRET (Leave empty for default)" schema:
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" type: string
schema: private: true
type: string default: ""
private: true - variable: WEBLATE_SOCIAL_AUTH_GITHUB_ORG_SECRET
default: "" label: "WEBLATE_SOCIAL_AUTH_GITHUB_ORG_SECRET (Leave empty for default)"
- variable: WEBLATE_SOCIAL_AUTH_GITHUB_ORG_NAME description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
label: "WEBLATE_SOCIAL_AUTH_GITHUB_ORG_NAME (Leave empty for default)" schema:
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" type: string
schema: private: true
type: string default: ""
default: "" - variable: WEBLATE_SOCIAL_AUTH_GITHUB_ORG_NAME
- variable: WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_KEY label: "WEBLATE_SOCIAL_AUTH_GITHUB_ORG_NAME (Leave empty for default)"
label: "WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_KEY (Leave empty for default)" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: string
type: string default: ""
private: true - variable: WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_KEY
default: "" label: "WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_KEY (Leave empty for default)"
- variable: WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_SECRET description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
label: "WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_SECRET (Leave empty for default)" schema:
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" type: string
schema: private: true
type: string default: ""
private: true - variable: WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_SECRET
default: "" label: "WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_SECRET (Leave empty for default)"
- variable: WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_ID description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
label: "WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_ID (Leave empty for default)" schema:
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" type: string
schema: private: true
type: string default: ""
private: true - variable: WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_ID
default: "" label: "WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_ID (Leave empty for default)"
- variable: enabledbitbucket description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
label: "Show Bitbucket Authentication Settings" schema:
schema: type: string
type: boolean private: true
default: false default: ""
show_subquestions_if: true - variable: bitbucket
subquestions: label: "Bitbucket Authentication Configuration"
- variable: WEBLATE_SOCIAL_AUTH_BITBUCKET_KEY schema:
label: "WEBLATE_SOCIAL_AUTH_BITBUCKET_KEY (Leave empty for default)" additional_attrs: true
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" type: dict
schema: attrs:
type: string - variable: enabled
private: true label: "Show Bitbucket Authentication Settings"
default: "" schema:
- variable: WEBLATE_SOCIAL_AUTH_BITBUCKET_SECRET type: boolean
label: "WEBLATE_SOCIAL_AUTH_BITBUCKET_SECRET (Leave empty for default)" default: false
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" show_subquestions_if: true
schema: subquestions:
type: string - variable: WEBLATE_SOCIAL_AUTH_BITBUCKET_KEY
private: true label: "WEBLATE_SOCIAL_AUTH_BITBUCKET_KEY (Leave empty for default)"
default: "" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
- variable: enabledfacebook schema:
label: "Show Facebook Authentication Settings" type: string
schema: private: true
type: boolean default: ""
default: false - variable: WEBLATE_SOCIAL_AUTH_BITBUCKET_SECRET
show_subquestions_if: true label: "WEBLATE_SOCIAL_AUTH_BITBUCKET_SECRET (Leave empty for default)"
subquestions: description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
- variable: WEBLATE_SOCIAL_AUTH_FACEBOOK_KEY schema:
label: "WEBLATE_SOCIAL_AUTH_FACEBOOK_KEY (Leave empty for default)" type: string
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" private: true
schema: default: ""
type: string - variable: facebook
private: true label: "Facebook Authentication Configuration"
default: "" schema:
- variable: WEBLATE_SOCIAL_AUTH_FACEBOOK_SECRET additional_attrs: true
label: "WEBLATE_SOCIAL_AUTH_FACEBOOK_SECRET (Leave empty for default)" type: dict
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" attrs:
schema: - variable: enabled
type: string label: "Show Facebook Authentication Settings"
private: true schema:
default: "" type: boolean
- variable: enabledgoogle default: false
label: "Show Google Authentication Settings" show_subquestions_if: true
schema: subquestions:
type: boolean - variable: WEBLATE_SOCIAL_AUTH_FACEBOOK_KEY
default: false label: "WEBLATE_SOCIAL_AUTH_FACEBOOK_KEY (Leave empty for default)"
show_subquestions_if: true description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
subquestions: schema:
- variable: WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_KEY type: string
label: "WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_KEY (Leave empty for default)" private: true
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" default: ""
schema: - variable: WEBLATE_SOCIAL_AUTH_FACEBOOK_SECRET
type: string label: "WEBLATE_SOCIAL_AUTH_FACEBOOK_SECRET (Leave empty for default)"
private: true description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
default: "" schema:
- variable: WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET type: string
label: "WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET (Leave empty for default)" private: true
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" default: ""
schema: - variable: google
type: string label: "Google Authentication Configuration"
private: true schema:
default: "" additional_attrs: true
- variable: WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS type: dict
label: "WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS (Leave empty for default)" attrs:
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" - variable: enabled
schema: label: "Show Google Authentication Settings"
type: string schema:
default: "" type: boolean
- variable: WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_EMAILS default: false
label: "WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_EMAILS (Leave empty for default)" show_subquestions_if: true
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" subquestions:
schema: - variable: WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_KEY
type: string label: "WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_KEY (Leave empty for default)"
default: "" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
- variable: enabledgitlab schema:
label: "Show Gitlab Authentication Settings" type: string
schema: private: true
type: boolean default: ""
default: false - variable: WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET
show_subquestions_if: true label: "WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET (Leave empty for default)"
subquestions: description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
- variable: WEBLATE_SOCIAL_AUTH_GITLAB_KEY schema:
label: "WEBLATE_SOCIAL_AUTH_GITLAB_KEY (Leave empty for default)" type: string
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" private: true
schema: default: ""
type: string - variable: WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS
private: true label: "WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS (Leave empty for default)"
default: "" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
- variable: WEBLATE_SOCIAL_AUTH_GITLAB_SECRET schema:
label: "WEBLATE_SOCIAL_AUTH_GITLAB_SECRET (Leave empty for default)" type: string
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" default: ""
schema: - variable: WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_EMAILS
type: string label: "WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_EMAILS (Leave empty for default)"
private: true description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
default: "" schema:
- variable: WEBLATE_SOCIAL_AUTH_GITLAB_API_URL type: string
label: "WEBLATE_SOCIAL_AUTH_GITLAB_API_URL (Leave empty for default)" default: ""
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" - variable: gitlab
schema: label: "Gitlab Authentication Configuration"
type: string schema:
default: "" additional_attrs: true
- variable: enabledazure type: dict
label: "Show Azure AD Authentication Settings" attrs:
schema: - variable: enabled
type: boolean label: "Show Gitlab Authentication Settings"
default: false schema:
show_subquestions_if: true type: boolean
subquestions: default: false
- variable: WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_KEY show_subquestions_if: true
label: "WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_KEY (Leave empty for default)" subquestions:
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" - variable: WEBLATE_SOCIAL_AUTH_GITLAB_KEY
schema: label: "WEBLATE_SOCIAL_AUTH_GITLAB_KEY (Leave empty for default)"
type: string description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
private: true schema:
default: "" type: string
- variable: WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET private: true
label: "WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET (Leave empty for default)" default: ""
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" - variable: WEBLATE_SOCIAL_AUTH_GITLAB_SECRET
schema: label: "WEBLATE_SOCIAL_AUTH_GITLAB_SECRET (Leave empty for default)"
type: string description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
private: true schema:
default: "" type: string
- variable: enabledazuretenant private: true
label: "Show Azure AD with Tenant Authentication Settings" default: ""
schema: - variable: WEBLATE_SOCIAL_AUTH_GITLAB_API_URL
type: boolean label: "WEBLATE_SOCIAL_AUTH_GITLAB_API_URL (Leave empty for default)"
default: false description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
show_subquestions_if: true schema:
subquestions: type: string
- variable: WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_KEY default: ""
label: "WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_KEY (Leave empty for default)" - variable: azure
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" label: "Azure AD Authentication Configuration"
schema: schema:
type: string additional_attrs: true
private: true type: dict
default: "" attrs:
- variable: WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_SECRET - variable: enabled
label: "WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_SECRET (Leave empty for default)" label: "Show Azure AD Authentication Settings"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: boolean
type: string default: false
private: true show_subquestions_if: true
default: "" subquestions:
- variable: WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_TENANT_ID - variable: WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_KEY
label: "WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_TENANT_ID (Leave empty for default)" label: "WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_KEY (Leave empty for default)"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
schema: schema:
type: string type: string
private: true private: true
default: "" default: ""
- variable: enabledkeycloak - variable: WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET
label: "Show Keycloak Authentication Settings" label: "WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET (Leave empty for default)"
schema: description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
type: boolean schema:
default: false type: string
show_subquestions_if: true private: true
subquestions: default: ""
- variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_KEY - variable: azuretenant
label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_KEY (Leave empty for default)" label: "Azure AD with Tenant Authentication Configuration"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: additional_attrs: true
type: string type: dict
private: true attrs:
default: "" - variable: enabled
- variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_SECRET label: "Show Azure AD with Tenant Authentication Settings"
label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_SECRET (Leave empty for default)" schema:
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" type: boolean
schema: default: false
type: string show_subquestions_if: true
private: true subquestions:
default: "" - variable: WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_KEY
- variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_PUBLIC_KEY label: "WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_KEY (Leave empty for default)"
label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_PUBLIC_KEY (Leave empty for default)" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: string
type: string private: true
private: true default: ""
default: "" - variable: WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_SECRET
- variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_ALGORITHM label: "WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_SECRET (Leave empty for default)"
label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_ALGORITHM (Leave empty for default)" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: string
type: string private: true
default: "" default: ""
- variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL - variable: WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_TENANT_ID
label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL (Leave empty for default)" label: "WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_TENANT_ID (Leave empty for default)"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
schema: schema:
type: string type: string
default: "" private: true
- variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_ACCESS_TOKEN_URL default: ""
label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_ACCESS_TOKEN_URL (Leave empty for default)" - variable: keycloak
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" label: "Keycloak Authentication Configuration"
schema: schema:
type: string additional_attrs: true
default: "" type: dict
- variable: enabledlinux attrs:
label: "Show Linux Vendors Authentication Settings" - variable: enabled
schema: label: "Show Keycloak Authentication Settings"
type: boolean schema:
default: false type: boolean
show_subquestions_if: true default: false
subquestions: show_subquestions_if: true
- variable: WEBLATE_SOCIAL_AUTH_FEDORA subquestions:
label: "WEBLATE_SOCIAL_AUTH_FEDORA" - variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_KEY
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_KEY (Leave empty for default)"
schema: description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
type: boolean schema:
default: false type: string
- variable: WEBLATE_SOCIAL_AUTH_OPENSUSE private: true
label: "WEBLATE_SOCIAL_AUTH_OPENSUSE)" default: ""
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" - variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_SECRET
schema: label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_SECRET (Leave empty for default)"
type: boolean description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
default: false schema:
- variable: WEBLATE_SOCIAL_AUTH_UBUNTU type: string
label: "WEBLATE_SOCIAL_AUTH_UBUNTU" private: true
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" default: ""
schema: - variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_PUBLIC_KEY
type: boolean label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_PUBLIC_KEY (Leave empty for default)"
default: false description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
- variable: enabledslack schema:
label: "Show Slack Authentication Settings" type: string
schema: private: true
type: boolean default: ""
default: false - variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_ALGORITHM
show_subquestions_if: true label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_ALGORITHM (Leave empty for default)"
subquestions: description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
- variable: WEBLATE_SOCIAL_AUTH_SLACK_KEY schema:
label: "WEBLATE_SOCIAL_AUTH_SLACK_KEY (Leave empty for default)" type: string
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" default: ""
schema: - variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL
type: string label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL (Leave empty for default)"
private: true description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
default: "" schema:
- variable: SOCIAL_AUTH_SLACK_SECRET type: string
label: "SOCIAL_AUTH_SLACK_SECRET (Leave empty for default)" default: ""
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" - variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_ACCESS_TOKEN_URL
schema: label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_ACCESS_TOKEN_URL (Leave empty for default)"
type: string description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
private: true schema:
default: "" type: string
- variable: enabledsaml default: ""
label: "Show SAML Authentication Settings" - variable: linux
schema: label: "Linux Vendors Authentication Configuration"
type: boolean schema:
default: false additional_attrs: true
show_subquestions_if: true type: dict
subquestions: attrs:
- variable: WEBLATE_SAML_IDP_ENTITY_ID - variable: enabled
label: "WEBLATE_SAML_IDP_ENTITY_ID (Leave empty for default)" label: "Show Linux Vendors Authentication Settings"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" schema:
schema: type: boolean
type: string default: false
private: true show_subquestions_if: true
default: "" subquestions:
- variable: WEBLATE_SAML_IDP_URL - variable: WEBLATE_SOCIAL_AUTH_FEDORA
label: "WEBLATE_SAML_IDP_URL (Leave empty for default)" label: "WEBLATE_SOCIAL_AUTH_FEDORA"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
schema: schema:
type: string type: boolean
default: "" default: false
- variable: WEBLATE_SAML_IDP_X509CERT - variable: WEBLATE_SOCIAL_AUTH_OPENSUSE
label: "WEBLATE_SAML_IDP_X509CERT (Leave empty for default)" label: "WEBLATE_SOCIAL_AUTH_OPENSUSE)"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info" description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
schema: schema:
type: string type: boolean
private: true default: false
default: "" - variable: WEBLATE_SOCIAL_AUTH_UBUNTU
label: "WEBLATE_SOCIAL_AUTH_UBUNTU"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
schema:
type: boolean
default: false
- variable: slack
label: "Slack Authentication Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: enabled
label: "Show Slack Authentication Settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: WEBLATE_SOCIAL_AUTH_SLACK_KEY
label: "WEBLATE_SOCIAL_AUTH_SLACK_KEY (Leave empty for default)"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
schema:
type: string
private: true
default: ""
- variable: SOCIAL_AUTH_SLACK_SECRET
label: "SOCIAL_AUTH_SLACK_SECRET (Leave empty for default)"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
schema:
type: string
private: true
default: ""
- variable: saml
label: "SAML Authentication Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: enabled
label: "Show SAML Authentication Settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: WEBLATE_SAML_IDP_ENTITY_ID
label: "WEBLATE_SAML_IDP_ENTITY_ID (Leave empty for default)"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
schema:
type: string
private: true
default: ""
- variable: WEBLATE_SAML_IDP_URL
label: "WEBLATE_SAML_IDP_URL (Leave empty for default)"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
schema:
type: string
default: ""
- variable: WEBLATE_SAML_IDP_X509CERT
label: "WEBLATE_SAML_IDP_X509CERT (Leave empty for default)"
description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
schema:
type: string
private: true
default: ""
- variable: email - variable: email
label: "Email Server Configuration" label: "Email Server Configuration"
schema: schema:
@@ -1433,7 +1498,7 @@ questions:
description: The groupID this App of the user running the application" description: The groupID this App of the user running the application"
schema: schema:
type: int type: int
default: 1000 default: 0
- variable: fsGroup - variable: fsGroup
label: "fsGroup" label: "fsGroup"
description: "The group that should own ALL storage." description: "The group that should own ALL storage."
@@ -38,13 +38,17 @@ data:
WEBLATE_ALLOWED_HOSTS: {{ .Values.weblate.general.WEBLATE_ALLOWED_HOSTS | quote }} WEBLATE_ALLOWED_HOSTS: {{ .Values.weblate.general.WEBLATE_ALLOWED_HOSTS | quote }}
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_REGISTRATION_OPEN }} {{- if .Values.weblate.general.WEBLATE_REGISTRATION_OPEN }}
WEBLATE_REGISTRATION_OPEN: {{ .Values.weblate.general.WEBLATE_REGISTRATION_OPEN | quote }} WEBLATE_REGISTRATION_OPEN: "true"
{{- else }}
WEBLATE_REGISTRATION_OPEN: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_REGISTRATION_ALLOW_BACKENDS }} {{- if .Values.weblate.general.WEBLATE_REGISTRATION_ALLOW_BACKENDS }}
WEBLATE_REGISTRATION_ALLOW_BACKENDS: {{ .Values.weblate.general.WEBLATE_REGISTRATION_ALLOW_BACKENDS | quote }} WEBLATE_REGISTRATION_ALLOW_BACKENDS: {{ .Values.weblate.general.WEBLATE_REGISTRATION_ALLOW_BACKENDS | quote }}
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_ENABLE_HTTPS }} {{- if .Values.weblate.general.WEBLATE_ENABLE_HTTPS }}
WEBLATE_ENABLE_HTTPS: {{ .Values.weblate.general.WEBLATE_ENABLE_HTTPS | quote }} WEBLATE_ENABLE_HTTPS: "true"
{{- else }}
WEBLATE_ENABLE_HTTPS: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_IP_PROXY_HEADER }} {{- if .Values.weblate.general.WEBLATE_IP_PROXY_HEADER }}
WEBLATE_IP_PROXY_HEADER: {{ .Values.weblate.general.WEBLATE_IP_PROXY_HEADER | quote }} WEBLATE_IP_PROXY_HEADER: {{ .Values.weblate.general.WEBLATE_IP_PROXY_HEADER | quote }}
@@ -53,7 +57,9 @@ data:
WEBLATE_SECURE_PROXY_SSL_HEADER: {{ .Values.weblate.general.WEBLATE_SECURE_PROXY_SSL_HEADER | quote }} WEBLATE_SECURE_PROXY_SSL_HEADER: {{ .Values.weblate.general.WEBLATE_SECURE_PROXY_SSL_HEADER | quote }}
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_REQUIRE_LOGIN }} {{- if .Values.weblate.general.WEBLATE_REQUIRE_LOGIN }}
WEBLATE_REQUIRE_LOGIN: {{ .Values.weblate.general.WEBLATE_REQUIRE_LOGIN | quote }} WEBLATE_REQUIRE_LOGIN: "true"
{{- else }}
WEBLATE_REQUIRE_LOGIN: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_LOGIN_REQUIRED_URLS_EXCEPTIONS }} {{- if .Values.weblate.general.WEBLATE_LOGIN_REQUIRED_URLS_EXCEPTIONS }}
WEBLATE_LOGIN_REQUIRED_URLS_EXCEPTIONS: {{ .Values.weblate.general.WEBLATE_LOGIN_REQUIRED_URLS_EXCEPTIONS | quote }} WEBLATE_LOGIN_REQUIRED_URLS_EXCEPTIONS: {{ .Values.weblate.general.WEBLATE_LOGIN_REQUIRED_URLS_EXCEPTIONS | quote }}
@@ -86,16 +92,22 @@ data:
WEBLATE_PAGURE_TOKEN: {{ .Values.weblate.general.WEBLATE_PAGURE_TOKEN | quote }} WEBLATE_PAGURE_TOKEN: {{ .Values.weblate.general.WEBLATE_PAGURE_TOKEN | quote }}
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_SIMPLIFY_LANGUAGES }} {{- if .Values.weblate.general.WEBLATE_SIMPLIFY_LANGUAGES }}
WEBLATE_SIMPLIFY_LANGUAGES: {{ .Values.weblate.general.WEBLATE_SIMPLIFY_LANGUAGES | quote }} WEBLATE_SIMPLIFY_LANGUAGES: "true"
{{- else }}
WEBLATE_SIMPLIFY_LANGUAGES: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_DEFAULT_ACCESS_CONTROL }} {{- if .Values.weblate.general.WEBLATE_DEFAULT_ACCESS_CONTROL }}
WEBLATE_DEFAULT_ACCESS_CONTROL: {{ .Values.weblate.general.WEBLATE_DEFAULT_ACCESS_CONTROL | quote }} WEBLATE_DEFAULT_ACCESS_CONTROL: {{ .Values.weblate.general.WEBLATE_DEFAULT_ACCESS_CONTROL | quote }}
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_DEFAULT_RESTRICTED_COMPONENT }} {{- if .Values.weblate.general.WEBLATE_DEFAULT_RESTRICTED_COMPONENT }}
WEBLATE_DEFAULT_RESTRICTED_COMPONENT: {{ .Values.weblate.general.WEBLATE_DEFAULT_RESTRICTED_COMPONENT | quote }} WEBLATE_DEFAULT_RESTRICTED_COMPONENT: "true"
{{- else }}
WEBLATE_DEFAULT_RESTRICTED_COMPONENT: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_DEFAULT_TRANSLATION_PROPAGATION }} {{- if .Values.weblate.general.WEBLATE_DEFAULT_TRANSLATION_PROPAGATION }}
WEBLATE_DEFAULT_TRANSLATION_PROPAGATION: {{ .Values.weblate.general.WEBLATE_DEFAULT_TRANSLATION_PROPAGATION | quote }} WEBLATE_DEFAULT_TRANSLATION_PROPAGATION: "true"
{{- else }}
WEBLATE_DEFAULT_TRANSLATION_PROPAGATION: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_DEFAULT_COMMITER_EMAIL }} {{- if .Values.weblate.general.WEBLATE_DEFAULT_COMMITER_EMAIL }}
WEBLATE_DEFAULT_COMMITER_EMAIL: {{ .Values.weblate.general.WEBLATE_DEFAULT_COMMITER_EMAIL | quote }} WEBLATE_DEFAULT_COMMITER_EMAIL: {{ .Values.weblate.general.WEBLATE_DEFAULT_COMMITER_EMAIL | quote }}
@@ -104,7 +116,9 @@ data:
WEBLATE_DEFAULT_COMMITER_NAME: {{ .Values.weblate.general.WEBLATE_DEFAULT_COMMITER_NAME | quote }} WEBLATE_DEFAULT_COMMITER_NAME: {{ .Values.weblate.general.WEBLATE_DEFAULT_COMMITER_NAME | quote }}
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_DEFAULT_SHARED_TM }} {{- if .Values.weblate.general.WEBLATE_DEFAULT_SHARED_TM }}
WEBLATE_DEFAULT_SHARED_TM: {{ .Values.weblate.general.WEBLATE_DEFAULT_SHARED_TM | quote }} WEBLATE_DEFAULT_SHARED_TM: "true"
{{- else }}
WEBLATE_DEFAULT_SHARED_TM: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_AKISMET_API_KEY }} {{- if .Values.weblate.general.WEBLATE_AKISMET_API_KEY }}
WEBLATE_AKISMET_API_KEY: {{ .Values.weblate.general.WEBLATE_AKISMET_API_KEY | quote }} WEBLATE_AKISMET_API_KEY: {{ .Values.weblate.general.WEBLATE_AKISMET_API_KEY | quote }}
@@ -137,19 +151,27 @@ data:
WEBLATE_LICENSE_FILTER: {{ .Values.weblate.general.WEBLATE_LICENSE_FILTER | quote }} WEBLATE_LICENSE_FILTER: {{ .Values.weblate.general.WEBLATE_LICENSE_FILTER | quote }}
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_LICENSE_REQUIRED }} {{- if .Values.weblate.general.WEBLATE_LICENSE_REQUIRED }}
WEBLATE_LICENSE_REQUIRED: {{ .Values.weblate.general.WEBLATE_LICENSE_REQUIRED | quote }} WEBLATE_LICENSE_REQUIRED: "true"
{{- else }}
WEBLATE_LICENSE_REQUIRED: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_WEBSITE_REQUIRED }} {{- if .Values.weblate.general.WEBLATE_WEBSITE_REQUIRED }}
WEBLATE_WEBSITE_REQUIRED: {{ .Values.weblate.general.WEBLATE_WEBSITE_REQUIRED | quote }} WEBLATE_WEBSITE_REQUIRED: "true"
{{- else }}
WEBLATE_WEBSITE_REQUIRED: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_HIDE_VERSION }} {{- if .Values.weblate.general.WEBLATE_HIDE_VERSION }}
WEBLATE_HIDE_VERSION: {{ .Values.weblate.general.WEBLATE_HIDE_VERSION | quote }} WEBLATE_HIDE_VERSION: "true"
{{- else }}
WEBLATE_HIDE_VERSION: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_BASIC_LANGUAGES }} {{- if .Values.weblate.general.WEBLATE_BASIC_LANGUAGES }}
WEBLATE_BASIC_LANGUAGES: {{ .Values.weblate.general.WEBLATE_BASIC_LANGUAGES | quote }} WEBLATE_BASIC_LANGUAGES: {{ .Values.weblate.general.WEBLATE_BASIC_LANGUAGES | quote }}
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_DEFAULT_AUTO_WATCH }} {{- if .Values.weblate.general.WEBLATE_DEFAULT_AUTO_WATCH }}
WEBLATE_DEFAULT_AUTO_WATCH: {{ .Values.weblate.general.WEBLATE_DEFAULT_AUTO_WATCH | quote }} WEBLATE_DEFAULT_AUTO_WATCH: "true"
{{- else }}
WEBLATE_DEFAULT_AUTO_WATCH: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_RATELIMIT_ATTEMPTS }} {{- if .Values.weblate.general.WEBLATE_RATELIMIT_ATTEMPTS }}
WEBLATE_RATELIMIT_ATTEMPTS: {{ .Values.weblate.general.WEBLATE_RATELIMIT_ATTEMPTS | quote }} WEBLATE_RATELIMIT_ATTEMPTS: {{ .Values.weblate.general.WEBLATE_RATELIMIT_ATTEMPTS | quote }}
@@ -161,10 +183,14 @@ data:
WEBLATE_RATELIMIT_WINDOW: {{ .Values.weblate.general.WEBLATE_RATELIMIT_WINDOW | quote }} WEBLATE_RATELIMIT_WINDOW: {{ .Values.weblate.general.WEBLATE_RATELIMIT_WINDOW | quote }}
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_ENABLE_AVATARS }} {{- if .Values.weblate.general.WEBLATE_ENABLE_AVATARS }}
WEBLATE_ENABLE_AVATARS: {{ .Values.weblate.general.WEBLATE_ENABLE_AVATARS | quote }} WEBLATE_ENABLE_AVATARS: "true"
{{- else }}
WEBLATE_ENABLE_AVATARS: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH }} {{- if .Values.weblate.general.WEBLATE_LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH }}
WEBLATE_LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH: {{ .Values.weblate.general.WEBLATE_LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH | quote }} WEBLATE_LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH: "true"
{{- else }}
WEBLATE_LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_SSH_EXTRA_ARGS }} {{- if .Values.weblate.general.WEBLATE_SSH_EXTRA_ARGS }}
WEBLATE_SSH_EXTRA_ARGS: {{ .Values.weblate.general.WEBLATE_SSH_EXTRA_ARGS | quote }} WEBLATE_SSH_EXTRA_ARGS: {{ .Values.weblate.general.WEBLATE_SSH_EXTRA_ARGS | quote }}
@@ -176,7 +202,9 @@ data:
WEBLATE_DATABASE_BACKUP: {{ .Values.weblate.general.WEBLATE_DATABASE_BACKUP | quote }} WEBLATE_DATABASE_BACKUP: {{ .Values.weblate.general.WEBLATE_DATABASE_BACKUP | quote }}
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_DEBUG }} {{- if .Values.weblate.general.WEBLATE_DEBUG }}
WEBLATE_DEBUG: {{ .Values.weblate.general.WEBLATE_DEBUG | quote }} WEBLATE_DEBUG: "true"
{{- else }}
WEBLATE_DEBUG: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.general.WEBLATE_LOGLEVEL }} {{- if .Values.weblate.general.WEBLATE_LOGLEVEL }}
WEBLATE_LOGLEVEL: {{ .Values.weblate.general.WEBLATE_LOGLEVEL | quote }} WEBLATE_LOGLEVEL: {{ .Values.weblate.general.WEBLATE_LOGLEVEL | quote }}
@@ -234,13 +262,19 @@ data:
WEBLATE_MT_MODERNMT_KEY: {{ .Values.weblate.machinetranslate.WEBLATE_MT_MODERNMT_KEY | quote }} WEBLATE_MT_MODERNMT_KEY: {{ .Values.weblate.machinetranslate.WEBLATE_MT_MODERNMT_KEY | quote }}
{{- end }} {{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_MYMEMORY_ENABLED }} {{- if .Values.weblate.machinetranslate.WEBLATE_MT_MYMEMORY_ENABLED }}
WEBLATE_MT_MYMEMORY_ENABLED: {{ .Values.weblate.machinetranslate.WEBLATE_MT_MYMEMORY_ENABLED | quote }} WEBLATE_MT_MYMEMORY_ENABLED: "true"
{{- else }}
WEBLATE_MT_MYMEMORY_ENABLED: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_GLOSBE_ENABLED }} {{- if .Values.weblate.machinetranslate.WEBLATE_MT_GLOSBE_ENABLED }}
WEBLATE_MT_GLOSBE_ENABLED: {{ .Values.weblate.machinetranslate.WEBLATE_MT_GLOSBE_ENABLED | quote }} WEBLATE_MT_GLOSBE_ENABLED: "true"
{{- else }}
WEBLATE_MT_GLOSBE_ENABLED: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_MICROSOFT_TERMINOLOGY_ENABLED }} {{- if .Values.weblate.machinetranslate.WEBLATE_MT_MICROSOFT_TERMINOLOGY_ENABLED }}
WEBLATE_MT_MICROSOFT_TERMINOLOGY_ENABLED: {{ .Values.weblate.machinetranslate.WEBLATE_MT_MICROSOFT_TERMINOLOGY_ENABLED | quote }} WEBLATE_MT_MICROSOFT_TERMINOLOGY_ENABLED: "true"
{{- else }}
WEBLATE_MT_MICROSOFT_TERMINOLOGY_ENABLED: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_SAP_BASE_URL }} {{- if .Values.weblate.machinetranslate.WEBLATE_MT_SAP_BASE_URL }}
WEBLATE_MT_SAP_BASE_URL: {{ .Values.weblate.machinetranslate.WEBLATE_MT_SAP_BASE_URL | quote }} WEBLATE_MT_SAP_BASE_URL: {{ .Values.weblate.machinetranslate.WEBLATE_MT_SAP_BASE_URL | quote }}
@@ -255,7 +289,9 @@ data:
WEBLATE_MT_SAP_PASSWORD: {{ .Values.weblate.machinetranslate.WEBLATE_MT_SAP_PASSWORD | quote }} WEBLATE_MT_SAP_PASSWORD: {{ .Values.weblate.machinetranslate.WEBLATE_MT_SAP_PASSWORD | quote }}
{{- end }} {{- end }}
{{- if .Values.weblate.machinetranslate.WEBLATE_MT_SAP_USE_MT }} {{- if .Values.weblate.machinetranslate.WEBLATE_MT_SAP_USE_MT }}
WEBLATE_MT_SAP_USE_MT: {{ .Values.weblate.machinetranslate.WEBLATE_MT_SAP_USE_MT | quote }} WEBLATE_MT_SAP_USE_MT: "true"
{{- else }}
WEBLATE_MT_SAP_USE_MT: "false"
{{- end }} {{- end }}
{{/* Authentication */}} {{/* Authentication */}}
{{/* LDAP */}} {{/* LDAP */}}
@@ -275,7 +311,9 @@ data:
WEBLATE_AUTH_LDAP_BIND_PASSWORD: {{ .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_BIND_PASSWORD | quote }} WEBLATE_AUTH_LDAP_BIND_PASSWORD: {{ .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_BIND_PASSWORD | quote }}
{{- end }} {{- end }}
{{- if .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_CONNECTION_OPTION_REFERRALS }} {{- if .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_CONNECTION_OPTION_REFERRALS }}
WEBLATE_AUTH_LDAP_CONNECTION_OPTION_REFERRALS: {{ .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_CONNECTION_OPTION_REFERRALS | quote }} WEBLATE_AUTH_LDAP_CONNECTION_OPTION_REFERRALS: "true"
{{- else }}
WEBLATE_AUTH_LDAP_CONNECTION_OPTION_REFERRALS: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_USER_SEARCH }} {{- 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 }} WEBLATE_AUTH_LDAP_USER_SEARCH: {{ .Values.weblate.auth.ldap.WEBLATE_AUTH_LDAP_USER_SEARCH | quote }}
@@ -389,13 +427,13 @@ data:
{{- end }} {{- end }}
{{/* Linux vendors */}} {{/* Linux vendors */}}
{{- if .Values.weblate.auth.linux.WEBLATE_SOCIAL_AUTH_FEDORA }} {{- if .Values.weblate.auth.linux.WEBLATE_SOCIAL_AUTH_FEDORA }}
WEBLATE_SOCIAL_AUTH_FEDORA: {{ .Values.weblate.auth.linux.WEBLATE_SOCIAL_AUTH_FEDORA | quote }} WEBLATE_SOCIAL_AUTH_FEDORA: "true"
{{- end }} {{- end }}
{{- if .Values.weblate.auth.linux.WEBLATE_SOCIAL_AUTH_OPENSUSE }} {{- if .Values.weblate.auth.linux.WEBLATE_SOCIAL_AUTH_OPENSUSE }}
WEBLATE_SOCIAL_AUTH_OPENSUSE: {{ .Values.weblate.auth.linux.WEBLATE_SOCIAL_AUTH_OPENSUSE | quote }} WEBLATE_SOCIAL_AUTH_OPENSUSE: "true"
{{- end }} {{- end }}
{{- if .Values.weblate.auth.linux.WEBLATE_SOCIAL_AUTH_UBUNTU }} {{- if .Values.weblate.auth.linux.WEBLATE_SOCIAL_AUTH_UBUNTU }}
WEBLATE_SOCIAL_AUTH_UBUNTU: {{ .Values.weblate.auth.linux.WEBLATE_SOCIAL_AUTH_UBUNTU | quote }} WEBLATE_SOCIAL_AUTH_UBUNTU: "true"
{{- end }} {{- end }}
{{/* Slack */}} {{/* Slack */}}
{{- if .Values.weblate.auth.slack.WEBLATE_SOCIAL_AUTH_SLACK_KEY }} {{- if .Values.weblate.auth.slack.WEBLATE_SOCIAL_AUTH_SLACK_KEY }}
@@ -428,10 +466,14 @@ data:
WEBLATE_EMAIL_HOST_PASSWORD: {{ .Values.weblate.email.WEBLATE_EMAIL_HOST_PASSWORD | quote }} WEBLATE_EMAIL_HOST_PASSWORD: {{ .Values.weblate.email.WEBLATE_EMAIL_HOST_PASSWORD | quote }}
{{- end }} {{- end }}
{{- if .Values.weblate.email.WEBLATE_EMAIL_USE_SSL }} {{- if .Values.weblate.email.WEBLATE_EMAIL_USE_SSL }}
WEBLATE_EMAIL_USE_SSL: {{ .Values.weblate.email.WEBLATE_EMAIL_USE_SSL | quote }} WEBLATE_EMAIL_USE_SSL: "true"
{{- else }}
WEBLATE_EMAIL_USE_SSL: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.email.WEBLATE_EMAIL_USE_TLS }} {{- if .Values.weblate.email.WEBLATE_EMAIL_USE_TLS }}
WEBLATE_EMAIL_USE_TLS: {{ .Values.weblate.email.WEBLATE_EMAIL_USE_TLS | quote }} WEBLATE_EMAIL_USE_TLS: "true"
{{- else }}
WEBLATE_EMAIL_USE_TLS: "false"
{{- end }} {{- end }}
{{- if .Values.weblate.email.WEBLATE_EMAIL_BACKEND }} {{- if .Values.weblate.email.WEBLATE_EMAIL_BACKEND }}
WEBLATE_EMAIL_BACKEND: {{ .Values.weblate.email.WEBLATE_EMAIL_BACKEND | quote }} WEBLATE_EMAIL_BACKEND: {{ .Values.weblate.email.WEBLATE_EMAIL_BACKEND | quote }}
+21 -21
View File
@@ -8,7 +8,7 @@ securityContext:
podSecurityContext: podSecurityContext:
runAsUser: 1000 runAsUser: 1000
runAsGroup: 1000 runAsGroup: 0
fsGroup: 1000 fsGroup: 1000
env: env:
@@ -32,20 +32,20 @@ weblate:
# WEBLATE_SERVER_EMAIL: "" # WEBLATE_SERVER_EMAIL: ""
# WEBLATE_DEFAULT_FROM_EMAIL: "" # WEBLATE_DEFAULT_FROM_EMAIL: ""
# WEBLATE_CONTACT_FORM: "" # WEBLATE_CONTACT_FORM: ""
# WEBLATE_REGISTRATION_OPEN: "" # WEBLATE_REGISTRATION_OPEN: true
# WEBLATE_REGISTRATION_ALLOW_BACKENDS: "" # WEBLATE_REGISTRATION_ALLOW_BACKENDS: ""
# WEBLATE_REQUIRE_LOGIN: "" # WEBLATE_REQUIRE_LOGIN: false
# WEBLATE_LOGIN_REQUIRED_URLS_EXCEPTIONS: "" # WEBLATE_LOGIN_REQUIRED_URLS_EXCEPTIONS: ""
# WEBLATE_ADD_LOGIN_REQUIRED_URLS_EXCEPTIONS: "" # WEBLATE_ADD_LOGIN_REQUIRED_URLS_EXCEPTIONS: ""
# WEBLATE_REMOVE_LOGIN_REQUIRED_URLS_EXCEPTIONS: "" # WEBLATE_REMOVE_LOGIN_REQUIRED_URLS_EXCEPTIONS: ""
# WEBLATE_DEFAULT_ACCESS_CONTROL: "" # WEBLATE_DEFAULT_ACCESS_CONTROL: ""
# WEBLATE_DEFAULT_RESTRICTED_COMPONENT: "" # WEBLATE_DEFAULT_RESTRICTED_COMPONENT: false
# WEBLATE_DEFAULT_TRANSLATION_PROPAGATION: "" # WEBLATE_DEFAULT_TRANSLATION_PROPAGATION: true
# WEBLATE_DEFAULT_COMMITER_EMAIL: "" # WEBLATE_DEFAULT_COMMITER_EMAIL: ""
# WEBLATE_DEFAULT_COMMITER_NAME: "" # WEBLATE_DEFAULT_COMMITER_NAME: ""
# WEBLATE_DEFAULT_SHARED_TM: "" # WEBLATE_DEFAULT_SHARED_TM: true
# WEBLATE_GPG_IDENTITY: "" # WEBLATE_GPG_IDENTITY: ""
# WEBLATE_DEFAULT_AUTO_WATCH: "" # WEBLATE_DEFAULT_AUTO_WATCH: true
# WEBLATE_GITHUB_USERNAME: "" # WEBLATE_GITHUB_USERNAME: ""
# WEBLATE_GITHUB_TOKEN: "" # WEBLATE_GITHUB_TOKEN: ""
# WEBLATE_GITLAB_USERNAME: "" # WEBLATE_GITLAB_USERNAME: ""
@@ -55,25 +55,25 @@ weblate:
# WEBLATE_CSP_CONNECT_SRC: "" # WEBLATE_CSP_CONNECT_SRC: ""
# WEBLATE_CSP_STYLE_SRC: "" # WEBLATE_CSP_STYLE_SRC: ""
# WEBLATE_CSP_FONT_SRC: "" # WEBLATE_CSP_FONT_SRC: ""
# WEBLATE_WEBSITE_REQUIRED: "" # WEBLATE_WEBSITE_REQUIRED: true
# WEBLATE_SIMPLIFY_LANGUAGES: "" # WEBLATE_SIMPLIFY_LANGUAGES: true
# WEBLATE_DATABASE_BACKUP: "" # WEBLATE_DATABASE_BACKUP: ""
# WEBLATE_URL_PREFIX: "" # WEBLATE_URL_PREFIX: ""
# WEBLATE_SILENCED_SYSTEM_CHECKS: "" # WEBLATE_SILENCED_SYSTEM_CHECKS: ""
# WEBLATE_HIDE_VERSION: "" # WEBLATE_HIDE_VERSION: false
# WEBLATE_BASIC_LANGUAGES: "" # WEBLATE_BASIC_LANGUAGES: ""
# WEBLATE_ENABLE_AVATARS: "" # WEBLATE_ENABLE_AVATARS: true
# WEBLATE_LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH: "" # WEBLATE_LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH: true
# WEBLATE_ALLOWED_HOSTS: "" # WEBLATE_ALLOWED_HOSTS: ""
# WEBLATE_ENABLE_HTTPS: "" # WEBLATE_ENABLE_HTTPS: false
# WEBLATE_IP_PROXY_HEADER: "" # WEBLATE_IP_PROXY_HEADER: ""
# WEBLATE_SECURE_PROXY_SSL_HEADER: "" # WEBLATE_SECURE_PROXY_SSL_HEADER: ""
# WEBLATE_LICENSE_FILTER: "" # WEBLATE_LICENSE_FILTER: ""
# WEBLATE_LICENSE_REQUIRED: "" # WEBLATE_LICENSE_REQUIRED: false
# WEBLATE_RATELIMIT_ATTEMPTS: "" # WEBLATE_RATELIMIT_ATTEMPTS: ""
# WEBLATE_RATELIMIT_LOCKOUT: "" # WEBLATE_RATELIMIT_LOCKOUT: ""
# WEBLATE_RATELIMIT_WINDOW: "" # WEBLATE_RATELIMIT_WINDOW: ""
WEBLATE_DEBUG: "false" # WEBLATE_DEBUG: false
# WEBLATE_LOGLEVEL: "" # WEBLATE_LOGLEVEL: ""
# WEBLATE_GOOGLE_ANALYTICS_ID: "" # WEBLATE_GOOGLE_ANALYTICS_ID: ""
# WEBLATE_PAGURE_USERNAME: "" # WEBLATE_PAGURE_USERNAME: ""
@@ -99,14 +99,14 @@ weblate:
# WEBLATE_MT_MICROSOFT_REGION: "" # WEBLATE_MT_MICROSOFT_REGION: ""
# WEBLATE_MT_MICROSOFT_BASE_URL: "" # WEBLATE_MT_MICROSOFT_BASE_URL: ""
# WEBLATE_MT_MODERNMT_KEY: "" # WEBLATE_MT_MODERNMT_KEY: ""
# WEBLATE_MT_MYMEMORY_ENABLED: "" # WEBLATE_MT_MYMEMORY_ENABLED: false
# WEBLATE_MT_GLOSBE_ENABLED: "" # WEBLATE_MT_GLOSBE_ENABLED: false
# WEBLATE_MT_MICROSOFT_TERMINOLOGY_ENABLED: "" # WEBLATE_MT_MICROSOFT_TERMINOLOGY_ENABLED: false
# WEBLATE_MT_SAP_BASE_URL: "" # WEBLATE_MT_SAP_BASE_URL: ""
# WEBLATE_MT_SAP_SANDBOX_APIKEY: "" # WEBLATE_MT_SAP_SANDBOX_APIKEY: ""
# WEBLATE_MT_SAP_USERNAME: "" # WEBLATE_MT_SAP_USERNAME: ""
# WEBLATE_MT_SAP_PASSWORD: "" # WEBLATE_MT_SAP_PASSWORD: ""
# WEBLATE_MT_SAP_USE_MT: "" # WEBLATE_MT_SAP_USE_MT: false
auth: auth:
ldap: {} ldap: {}
# WEBLATE_AUTH_LDAP_SERVER_URI: "" # WEBLATE_AUTH_LDAP_SERVER_URI: ""
@@ -173,8 +173,8 @@ weblate:
# WEBLATE_EMAIL_HOST: "" # WEBLATE_EMAIL_HOST: ""
# WEBLATE_EMAIL_HOST_USER: "" # WEBLATE_EMAIL_HOST_USER: ""
# WEBLATE_EMAIL_HOST_PASSWORD: "" # WEBLATE_EMAIL_HOST_PASSWORD: ""
# WEBLATE_EMAIL_USE_SSL: "" # WEBLATE_EMAIL_USE_SSL: false
# WEBLATE_EMAIL_USE_TLS: "" # WEBLATE_EMAIL_USE_TLS: false
# WEBLATE_EMAIL_BACKEND: "" # WEBLATE_EMAIL_BACKEND: ""
siteintegration: {} siteintegration: {}
# WEBLATE_GET_HELP_URL: "" # WEBLATE_GET_HELP_URL: ""