# Include{groups}
portals:
  open:
    protocols:
      - "$kubernetes-resource_configmap_portal_protocol"
    host:
      - "$kubernetes-resource_configmap_portal_host"
    ports:
      - "$kubernetes-resource_configmap_portal_port"
questions:
  - variable: portal
    group: "Container Image"
    label: "Configure Portal Button"
    schema:
      type: dict
      hidden: true
      attrs:
        - variable: enabled
          label: "Enable"
          description: "enable the portal button"
          schema:
            hidden: true
            editable: false
            type: boolean
            default: true
# Include{global}
  - variable: controller
    group: "Controller"
    label: ""
    schema:
      additional_attrs: true
      type: dict
      attrs:
        - variable: advanced
          label: "Show Advanced Controller Settings"
          schema:
            type: boolean
            default: false
            show_subquestions_if: true
            subquestions:
              - variable: type
                description: "Please specify type of workload to deploy"
                label: "(Advanced) Controller Type"
                schema:
                  type: string
                  default: "deployment"
                  required: true
                  enum:
                    - value: "deployment"
                      description: "Deployment"
                    - value: "statefulset"
                      description: "Statefulset"
                    - value: "daemonset"
                      description: "Daemonset"
              - variable: replicas
                description: "Number of desired pod replicas"
                label: "Desired Replicas"
                schema:
                  type: int
                  default: 1
                  required: true
              - variable: strategy
                description: "Please specify type of workload to deploy"
                label: "(Advanced) Update Strategy"
                schema:
                  type: string
                  default: "Recreate"
                  required: true
                  enum:
                    - value: "Recreate"
                      description: "Recreate: Kill existing pods before creating new ones"
                    - value: "RollingUpdate"
                      description: "RollingUpdate: Create new pods and then kill old ones"
                    - value: "OnDelete"
                      description: "(Legacy) OnDelete: ignore .spec.template changes"
# Include{controllerExpert}

  - variable: weblate
    group: "Container Configuration"
    label: "Weblate Configuration"
    schema:
      additional_attrs: true
      type: dict
      attrs:
      - variable: general
        label: "General Configuration"
        schema:
          additional_attrs: true
          type: dict
          attrs:
          - variable: WEBLATE_SITE_DOMAIN
            label: "WEBLATE_SITE_DOMAIN"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              required: true
              default: ""
          - variable: WEBLATE_SITE_TITLE
            label: "WEBLATE_SITE_TITLE (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_ADMIN_NAME
            label: "WEBLATE_ADMIN_NAME (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_ADMIN_EMAIL
            label: "WEBLATE_ADMIN_EMAIL (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_ADMIN_PASSWORD
            label: "WEBLATE_ADMIN_PASSWORD (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_ENABLE_HTTPS
            label: "WEBLATE_ENABLE_HTTPS"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: boolean
              default: false
          - variable: WEBLATE_IP_PROXY_HEADER
            label: "WEBLATE_IP_PROXY_HEADER (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_SECURE_PROXY_SSL_HEADER
            label: "WEBLATE_SECURE_PROXY_SSL_HEADER (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_AUTO_UPDATE
            label: "WEBLATE_AUTO_UPDATE (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
              enum:
                - value: ""
                  description: "none"
                - value: "remote"
                  description: "remote"
                - value: "full"
                  description: "full"
          - variable: WEBLATE_SERVER_EMAIL
            label: "WEBLATE_SERVER_EMAIL (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_SERVER_EMAIL
            label: "WEBLATE_SERVER_EMAIL (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_DEFAULT_FROM_EMAIL
            label: "WEBLATE_DEFAULT_FROM_EMAIL (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_CONTACT_FORM
            label: "WEBLATE_CONTACT_FORM (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
              enum:
                - value: ""
                  description: "Default"
                - value: "reply-to"
                  description: "reply-to"
                - value: "from"
                  description: "from"
          - variable: WEBLATE_ALLOWED_HOSTS
            label: "WEBLATE_ALLOWED_HOSTS (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_REGISTRATION_OPEN
            label: "WEBLATE_REGISTRATION_OPEN"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: boolean
              default: true
          - variable: WEBLATE_REGISTRATION_ALLOW_BACKENDS
            label: "WEBLATE_REGISTRATION_ALLOW_BACKENDS (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_REQUIRE_LOGIN
            label: "WEBLATE_REQUIRE_LOGIN"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: boolean
              default: false
          - variable: WEBLATE_LOGIN_REQUIRED_URLS_EXCEPTIONS
            label: "WEBLATE_LOGIN_REQUIRED_URLS_EXCEPTIONS (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_ADD_LOGIN_REQUIRED_URLS_EXCEPTIONS
            label: "WEBLATE_ADD_LOGIN_REQUIRED_URLS_EXCEPTIONS (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_REMOVE_LOGIN_REQUIRED_URLS_EXCEPTIONS
            label: "WEBLATE_REMOVE_LOGIN_REQUIRED_URLS_EXCEPTIONS (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_GOOGLE_ANALYTICS_ID
            label: "WEBLATE_GOOGLE_ANALYTICS_ID (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_GITHUB_USERNAME
            label: "WEBLATE_GITHUB_USERNAME (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_GITHUB_TOKEN
            label: "WEBLATE_GITHUB_TOKEN (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_GITLAB_USERNAME
            label: "WEBLATE_GITLAB_USERNAME (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_GITLAB_TOKEN
            label: "WEBLATE_GITLAB_TOKEN (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_PAGURE_USERNAME
            label: "WEBLATE_PAGURE_USERNAME (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_PAGURE_TOKEN
            label: "WEBLATE_PAGURE_TOKEN (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_SIMPLIFY_LANGUAGES
            label: "WEBLATE_SIMPLIFY_LANGUAGES"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: boolean
              default: true
          - variable: WEBLATE_DEFAULT_ACCESS_CONTROL
            label: "WEBLATE_DEFAULT_ACCESS_CONTROL (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_DEFAULT_RESTRICTED_COMPONENT
            label: "WEBLATE_DEFAULT_RESTRICTED_COMPONENT"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: boolean
              default: false
          - variable: WEBLATE_DEFAULT_TRANSLATION_PROPAGATION
            label: "WEBLATE_DEFAULT_TRANSLATION_PROPAGATION"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: boolean
              default: true
          - variable: WEBLATE_DEFAULT_COMMITER_EMAIL
            label: "WEBLATE_DEFAULT_COMMITER_EMAIL (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_DEFAULT_COMMITER_NAME
            label: "WEBLATE_DEFAULT_COMMITER_NAME (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_DEFAULT_SHARED_TM
            label: "WEBLATE_DEFAULT_SHARED_TM"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: boolean
              default: true
          - variable: WEBLATE_AKISMET_API_KEY
            label: "WEBLATE_AKISMET_API_KEY (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_GPG_IDENTITY
            label: "WEBLATE_GPG_IDENTITY (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_URL_PREFIX
            label: "WEBLATE_URL_PREFIX (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_SILENCED_SYSTEM_CHECKS
            label: "WEBLATE_SILENCED_SYSTEM_CHECKS (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_CSP_SCRIPT_SRC
            label: "WEBLATE_CSP_SCRIPT_SRC (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_CSP_IMG_SRC
            label: "WEBLATE_CSP_IMG_SRC (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_CSP_CONNECT_SRC
            label: "WEBLATE_CSP_CONNECT_SRC (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_CSP_STYLE_SRC
            label: "WEBLATE_CSP_STYLE_SRC (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_CSP_FONT_SRC
            label: "WEBLATE_CSP_FONT_SRC (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_LICENSE_FILTER
            label: "WEBLATE_LICENSE_FILTER (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_LICENSE_REQUIRED
            label: "WEBLATE_LICENSE_REQUIRED"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: boolean
              default: false
          - variable: WEBLATE_WEBSITE_REQUIRED
            label: "WEBLATE_WEBSITE_REQUIRED"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: boolean
              default: true
          - variable: WEBLATE_HIDE_VERSION
            label: "WEBLATE_HIDE_VERSION"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: boolean
              default: false
          - variable: WEBLATE_BASIC_LANGUAGES
            label: "WEBLATE_BASIC_LANGUAGES (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_DEFAULT_AUTO_WATCH
            label: "WEBLATE_DEFAULT_AUTO_WATCH"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: boolean
              default: true
          - variable: WEBLATE_RATELIMIT_ATTEMPTS
            label: "WEBLATE_RATELIMIT_ATTEMPTS (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_RATELIMIT_LOCKOUT
            label: "WEBLATE_RATELIMIT_LOCKOUT (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_RATELIMIT_WINDOW
            label: "WEBLATE_RATELIMIT_WINDOW (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_ENABLE_AVATARS
            label: "WEBLATE_ENABLE_AVATARS"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: boolean
              default: true
          - variable: WEBLATE_LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH
            label: "WEBLATE_LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: boolean
              default: true
          - variable: WEBLATE_SSH_EXTRA_ARGS
            label: "WEBLATE_SSH_EXTRA_ARGS (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_BORG_EXTRA_ARGS
            label: "WEBLATE_BORG_EXTRA_ARGS (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
          - variable: WEBLATE_DATABASE_BACKUP
            label: "WEBLATE_DATABASE_BACKUP (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: "plain"
              enum:
                - value: "plain"
                  description: "plain"
                - value: "compressed"
                  description: "compressed"
                - value: "none"
                  description: "none"
          - variable: WEBLATE_DEBUG
            label: "WEBLATE_DEBUG"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: boolean
              default: false
          - variable: WEBLATE_LOGLEVEL
            label: "WEBLATE_LOGLEVEL (Leave empty for default)"
            description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
            schema:
              type: string
              default: ""
      - variable: machinetranslate
        label: "Machine Translation Configuration"
        schema:
          additional_attrs: true
          type: dict
          attrs:
          - variable: enabled
            label: "Show Machine Translation Settings"
            schema:
              type: boolean
              default: false
              show_subquestions_if: true
              subquestions:
                - variable: WEBLATE_MT_APERTIUM_APY
                  label: "WEBLATE_MT_APERTIUM_APY (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
                - variable: WEBLATE_MT_AWS_REGION
                  label: "WEBLATE_MT_AWS_REGION (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
                - variable: WEBLATE_MT_AWS_ACCESS_KEY_ID
                  label: "WEBLATE_MT_AWS_ACCESS_KEY_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_MT_AWS_SECRET_ACCESS_KEY
                  label: "WEBLATE_MT_AWS_SECRET_ACCESS_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: WEBLATE_MT_DEEPL_KEY
                  label: "WEBLATE_MT_DEEPL_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: WEBLATE_MT_DEEPL_API_URL
                  label: "WEBLATE_MT_DEEPL_API_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_MT_LIBRETRANSLATE_KEY
                  label: "WEBLATE_MT_LIBRETRANSLATE_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: WEBLATE_MT_LIBRETRANSLATE_API_URL
                  label: "WEBLATE_MT_LIBRETRANSLATE_API_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_MT_GOOGLE_KEY
                  label: "WEBLATE_MT_GOOGLE_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: WEBLATE_MT_GOOGLE_CREDENTIALS
                  label: "WEBLATE_MT_GOOGLE_CREDENTIALS (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
                - variable: WEBLATE_MT_GOOGLE_PROJECT
                  label: "WEBLATE_MT_GOOGLE_PROJECT (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
                - variable: WEBLATE_MT_GOOGLE_LOCATION
                  label: "WEBLATE_MT_GOOGLE_LOCATION (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
                - variable: WEBLATE_MT_MICROSOFT_COGNITIVE_KEY
                  label: "WEBLATE_MT_MICROSOFT_COGNITIVE_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: WEBLATE_MT_MICROSOFT_ENDPOINT_URL
                  label: "WEBLATE_MT_MICROSOFT_ENDPOINT_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_MT_MICROSOFT_REGION
                  label: "WEBLATE_MT_MICROSOFT_REGION (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
                - variable: WEBLATE_MT_MICROSOFT_BASE_URL
                  label: "WEBLATE_MT_MICROSOFT_BASE_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_MT_MODERNMT_KEY
                  label: "WEBLATE_MT_MODERNMT_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: WEBLATE_MT_MYMEMORY_ENABLED
                  label: "WEBLATE_MT_MYMEMORY_ENABLED"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: boolean
                    default: false
                - variable: WEBLATE_MT_GLOSBE_ENABLED
                  label: "WEBLATE_MT_GLOSBE_ENABLED"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: boolean
                    default: false
                - variable: WEBLATE_MT_MICROSOFT_TERMINOLOGY_ENABLED
                  label: "WEBLATE_MT_MICROSOFT_TERMINOLOGY_ENABLED"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: boolean
                    default: false
                - variable: WEBLATE_MT_SAP_BASE_URL
                  label: "WEBLATE_MT_SAP_BASE_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_MT_SAP_SANDBOX_APIKEY
                  label: "WEBLATE_MT_SAP_SANDBOX_APIKEY (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_MT_SAP_USERNAME
                  label: "WEBLATE_MT_SAP_USERNAME (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
                - variable: WEBLATE_MT_SAP_PASSWORD
                  label: "WEBLATE_MT_SAP_PASSWORD (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_MT_SAP_USE_MT
                  label: "WEBLATE_MT_SAP_USE_MT"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: boolean
                    default: false
      - variable: auth
        label: "Authentication Configuration"
        schema:
          additional_attrs: true
          type: dict
          attrs:
          - variable: ldap
            label: "LDAP Authentication Configuration"
            schema:
              additional_attrs: true
              type: dict
              attrs:
              - variable: enabled
                label: "Show LDAP Authentication Settings"
                schema:
                  type: boolean
                  default: false
                  show_subquestions_if: true
                  subquestions:
                    - variable: WEBLATE_AUTH_LDAP_SERVER_URI
                      label: "WEBLATE_AUTH_LDAP_SERVER_URI (Leave empty for default)"
                      description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                      schema:
                        type: string
                        default: ""
                    - variable: WEBLATE_AUTH_LDAP_USER_DN_TEMPLATE
                      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"
                      schema:
                        type: string
                        default: ""
                    - variable: WEBLATE_AUTH_LDAP_USER_ATTR_MAP
                      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"
                      schema:
                        type: string
                        default: ""
                    - variable: WEBLATE_AUTH_LDAP_BIND_DN
                      label: "WEBLATE_AUTH_LDAP_BIND_DN (Leave empty for default)"
                      description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                      schema:
                        type: string
                        default: ""
                    - variable: WEBLATE_AUTH_LDAP_BIND_PASSWORD
                      label: "WEBLATE_AUTH_LDAP_BIND_PASSWORD (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_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"
                      schema:
                        type: boolean
                        default: false
                    - variable: WEBLATE_AUTH_LDAP_USER_SEARCH
                      label: "WEBLATE_AUTH_LDAP_USER_SEARCH (Leave empty for default)"
                      description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                      schema:
                        type: string
                        default: ""
                    - variable: WEBLATE_AUTH_LDAP_USER_SEARCH_FILTER
                      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"
                      schema:
                        type: string
                        default: ""
                    - variable: WEBLATE_AUTH_LDAP_USER_SEARCH_UNION
                      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"
                      schema:
                        type: string
                        default: ""
                    - variable: WEBLATE_AUTH_LDAP_USER_SEARCH_UNION_DELIMITER
                      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"
                      schema:
                        type: string
                        default: ""
          - variable: github
            label: "Github Authentication Configuration"
            schema:
              additional_attrs: true
              type: dict
              attrs:
              - variable: enabled
                label: "Show Github Authentication Settings"
                schema:
                  type: boolean
                  default: false
                  show_subquestions_if: true
                  subquestions:
                    - variable: WEBLATE_SOCIAL_AUTH_GITHUB_KEY
                      label: "WEBLATE_SOCIAL_AUTH_GITHUB_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: WEBLATE_SOCIAL_AUTH_GITHUB_SECRET
                      label: "WEBLATE_SOCIAL_AUTH_GITHUB_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: WEBLATE_SOCIAL_AUTH_GITHUB_ORG_KEY
                      label: "WEBLATE_SOCIAL_AUTH_GITHUB_ORG_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: WEBLATE_SOCIAL_AUTH_GITHUB_ORG_SECRET
                      label: "WEBLATE_SOCIAL_AUTH_GITHUB_ORG_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: WEBLATE_SOCIAL_AUTH_GITHUB_ORG_NAME
                      label: "WEBLATE_SOCIAL_AUTH_GITHUB_ORG_NAME (Leave empty for default)"
                      description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                      schema:
                        type: string
                        default: ""
                    - variable: WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_KEY
                      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"
                      schema:
                        type: string
                        private: true
                        default: ""
                    - variable: WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_SECRET
                      label: "WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_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: WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_ID
                      label: "WEBLATE_SOCIAL_AUTH_GITHUB_TEAM_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: bitbucket
            label: "Bitbucket Authentication Configuration"
            schema:
              additional_attrs: true
              type: dict
              attrs:
              - variable: enabled
                label: "Show Bitbucket Authentication Settings"
                schema:
                  type: boolean
                  default: false
                  show_subquestions_if: true
                  subquestions:
                    - variable: WEBLATE_SOCIAL_AUTH_BITBUCKET_KEY
                      label: "WEBLATE_SOCIAL_AUTH_BITBUCKET_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: WEBLATE_SOCIAL_AUTH_BITBUCKET_SECRET
                      label: "WEBLATE_SOCIAL_AUTH_BITBUCKET_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: facebook
            label: "Facebook Authentication Configuration"
            schema:
              additional_attrs: true
              type: dict
              attrs:
              - variable: enabled
                label: "Show Facebook Authentication Settings"
                schema:
                  type: boolean
                  default: false
                  show_subquestions_if: true
                  subquestions:
                    - variable: WEBLATE_SOCIAL_AUTH_FACEBOOK_KEY
                      label: "WEBLATE_SOCIAL_AUTH_FACEBOOK_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: WEBLATE_SOCIAL_AUTH_FACEBOOK_SECRET
                      label: "WEBLATE_SOCIAL_AUTH_FACEBOOK_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: google
            label: "Google Authentication Configuration"
            schema:
              additional_attrs: true
              type: dict
              attrs:
              - variable: enabled
                label: "Show Google Authentication Settings"
                schema:
                  type: boolean
                  default: false
                  show_subquestions_if: true
                  subquestions:
                    - variable: WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_KEY
                      label: "WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_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: WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET
                      label: "WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_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: WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS
                      label: "WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS (Leave empty for default)"
                      description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                      schema:
                        type: string
                        default: ""
                    - variable: WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_EMAILS
                      label: "WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_EMAILS (Leave empty for default)"
                      description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                      schema:
                        type: string
                        default: ""
          - variable: gitlab
            label: "Gitlab Authentication Configuration"
            schema:
              additional_attrs: true
              type: dict
              attrs:
              - variable: enabled
                label: "Show Gitlab Authentication Settings"
                schema:
                  type: boolean
                  default: false
                  show_subquestions_if: true
                  subquestions:
                    - variable: WEBLATE_SOCIAL_AUTH_GITLAB_KEY
                      label: "WEBLATE_SOCIAL_AUTH_GITLAB_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: WEBLATE_SOCIAL_AUTH_GITLAB_SECRET
                      label: "WEBLATE_SOCIAL_AUTH_GITLAB_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: WEBLATE_SOCIAL_AUTH_GITLAB_API_URL
                      label: "WEBLATE_SOCIAL_AUTH_GITLAB_API_URL (Leave empty for default)"
                      description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                      schema:
                        type: string
                        default: ""
          - variable: azure
            label: "Azure AD Authentication Configuration"
            schema:
              additional_attrs: true
              type: dict
              attrs:
              - variable: enabled
                label: "Show Azure AD Authentication Settings"
                schema:
                  type: boolean
                  default: false
                  show_subquestions_if: true
                  subquestions:
                    - variable: WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_KEY
                      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"
                      schema:
                        type: string
                        private: true
                        default: ""
                    - variable: WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET
                      label: "WEBLATE_SOCIAL_AUTH_AZUREAD_OAUTH2_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: azuretenant
            label: "Azure AD with Tenant Authentication Configuration"
            schema:
              additional_attrs: true
              type: dict
              attrs:
              - variable: enabled
                label: "Show Azure AD with Tenant Authentication Settings"
                schema:
                  type: boolean
                  default: false
                  show_subquestions_if: true
                  subquestions:
                    - variable: WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_KEY
                      label: "WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_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: WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_SECRET
                      label: "WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_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: WEBLATE_SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_TENANT_ID
                      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"
                      schema:
                        type: string
                        private: true
                        default: ""
          - variable: keycloak
            label: "Keycloak Authentication Configuration"
            schema:
              additional_attrs: true
              type: dict
              attrs:
              - variable: enabled
                label: "Show Keycloak Authentication Settings"
                schema:
                  type: boolean
                  default: false
                  show_subquestions_if: true
                  subquestions:
                    - variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_KEY
                      label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_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: WEBLATE_SOCIAL_AUTH_KEYCLOAK_SECRET
                      label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_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: WEBLATE_SOCIAL_AUTH_KEYCLOAK_PUBLIC_KEY
                      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"
                      schema:
                        type: string
                        private: true
                        default: ""
                    - variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_ALGORITHM
                      label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_ALGORITHM (Leave empty for default)"
                      description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                      schema:
                        type: string
                        default: ""
                    - variable: WEBLATE_SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL
                      label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_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_SOCIAL_AUTH_KEYCLOAK_ACCESS_TOKEN_URL
                      label: "WEBLATE_SOCIAL_AUTH_KEYCLOAK_ACCESS_TOKEN_URL (Leave empty for default)"
                      description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                      schema:
                        type: string
                        default: ""
          - variable: linux
            label: "Linux Vendors Authentication Configuration"
            schema:
              additional_attrs: true
              type: dict
              attrs:
              - variable: enabled
                label: "Show Linux Vendors Authentication Settings"
                schema:
                  type: boolean
                  default: false
                  show_subquestions_if: true
                  subquestions:
                    - variable: WEBLATE_SOCIAL_AUTH_FEDORA
                      label: "WEBLATE_SOCIAL_AUTH_FEDORA"
                      description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                      schema:
                        type: boolean
                        default: false
                    - variable: WEBLATE_SOCIAL_AUTH_OPENSUSE
                      label: "WEBLATE_SOCIAL_AUTH_OPENSUSE"
                      description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                      schema:
                        type: boolean
                        default: false
                    - 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
        label: "Email Server Configuration"
        schema:
          additional_attrs: true
          type: dict
          attrs:
          - variable: enabled
            label: "Show Email Server Settings"
            schema:
              type: boolean
              default: false
              show_subquestions_if: true
              subquestions:
                - variable: WEBLATE_EMAIL_HOST
                  label: "WEBLATE_EMAIL_HOST (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
                - variable: WEBLATE_EMAIL_PORT
                  label: "WEBLATE_EMAIL_PORT (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
                - variable: WEBLATE_EMAIL_HOST_USER
                  label: "WEBLATE_EMAIL_HOST_USER (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
                - variable: WEBLATE_EMAIL_HOST_PASSWORD
                  label: "WEBLATE_EMAIL_HOST_PASSWORD (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_EMAIL_USE_SSL
                  label: "WEBLATE_EMAIL_USE_SSL"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: boolean
                    default: false
                - variable: WEBLATE_EMAIL_USE_TLS
                  label: "WEBLATE_EMAIL_USE_TLS"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: boolean
                    default: false
                - variable: WEBLATE_EMAIL_BACKEND
                  label: "WEBLATE_EMAIL_BACKEND (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
      - variable: siteintegration
        label: "Site Integration Configuration"
        schema:
          additional_attrs: true
          type: dict
          attrs:
          - variable: enabled
            label: "Show Site Integration Settings"
            schema:
              type: boolean
              default: false
              show_subquestions_if: true
              subquestions:
                - variable: WEBLATE_GET_HELP_URL
                  label: "WEBLATE_GET_HELP_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_STATUS_URL
                  label: "WEBLATE_STATUS_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_LEGAL_URL
                  label: "WEBLATE_LEGAL_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_PRIVACY_URL
                  label: "WEBLATE_PRIVACY_URL (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
      - variable: errorreporting
        label: "Error Reporting Configuration"
        schema:
          additional_attrs: true
          type: dict
          attrs:
          - variable: enabled
            label: "Show Error Reporting Settings"
            schema:
              type: boolean
              default: false
              show_subquestions_if: true
              subquestions:
                - variable: ROLLBAR_KEY
                  label: "ROLLBAR_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: ROLLBAR_ENVIRONMENT
                  label: "ROLLBAR_ENVIRONMENT (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
                - variable: SENTRY_DSN
                  label: "SENTRY_DSN (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
                - variable: SENTRY_ENVIRONMENT
                  label: "SENTRY_ENVIRONMENT (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""
      - variable: localization
        label: "Localization CDN Configuration"
        schema:
          additional_attrs: true
          type: dict
          attrs:
          - variable: enabled
            label: "Show Localization CDN Settings"
            schema:
              type: boolean
              default: false
              show_subquestions_if: true
              subquestions:
                - variable: WEBLATE_LOCALIZE_CDN_URL
                  label: "WEBLATE_LOCALIZE_CDN_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_LOCALIZE_CDN_PATH
                  label: "WEBLATE_LOCALIZE_CDN_PATH (Leave empty for default)"
                  description: "Visit https://docs.weblate.org/en/ on section Environment Variables for more info"
                  schema:
                    type: string
                    default: ""


# Include{containerConfig}

  - variable: service
    group: "Networking and Services"
    label: "Configure Service(s)"
    schema:
      additional_attrs: true
      type: dict
      attrs:
        - variable: main
          label: "Main Service"
          description: "The Primary service on which the healthcheck runs, often the webUI"
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{serviceSelector}
                    - variable: main
                      label: "Main Service Port Configuration"
                      schema:
                        additional_attrs: true
                        type: dict
                        attrs:
                          - variable: port
                            label: "Port"
                            description: "This port exposes the container port on the service"
                            schema:
                              type: int
                              default: 10158
                              required: true
                          - variable: advanced
                            label: "Show Advanced settings"
                            schema:
                              type: boolean
                              default: false
                              show_subquestions_if: true
                              subquestions:
                                - variable: protocol
                                  label: "Port Type"
                                  schema:
                                    type: string
                                    default: "HTTP"
                                    enum:
                                      - value: HTTP
                                        description: "HTTP"
                                      - value: "HTTPS"
                                        description: "HTTPS"
                                      - value: TCP
                                        description: "TCP"
                                      - value: "UDP"
                                        description: "UDP"
                                - variable: nodePort
                                  label: "Node Port (Optional)"
                                  description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer"
                                  schema:
                                    type: int
                                    min: 9000
                                    max: 65535
                                - variable: targetPort
                                  label: "Target Port"
                                  description: "The internal(!) port on the container the Application runs on"
                                  schema:
                                    type: int
                                    default: 8080

  - variable: serviceexpert
    group: "Networking and Services"
    label: "Show Expert Config"
    schema:
      type: boolean
      default: false
      show_subquestions_if: true
      subquestions:
        - variable: hostNetwork
          group: "Networking and Services"
          label: "Host-Networking (Complicated)"
          schema:
            type: boolean
            default: false

# Include{serviceExpert}

# Include{serviceList}

  - variable: persistence
    label: "Integrated Persistent Storage"
    description: "Integrated Persistent Storage"
    group: "Storage and Persistence"
    schema:
      additional_attrs: true
      type: dict
      attrs:
        - variable: config
          label: "App Config Storage"
          description: "Stores the Application Configuration."
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{persistenceBasic}
# Include{persistenceAdvanced}

# Include{persistenceList}

  - variable: ingress
    label: ""
    group: "Ingress"
    schema:
      additional_attrs: true
      type: dict
      attrs:
        - variable: main
          label: "Main Ingress"
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{ingressDefault}

# Include{ingressTLS}

# Include{ingressTraefik}

# Include{ingressExpert}

# Include{ingressList}

# Include{security}

  - variable: advancedSecurity
    label: "Show Advanced Security Settings"
    group: "Security and Permissions"
    schema:
      type: boolean
      default: false
      show_subquestions_if: true
      subquestions:
        - variable: securityContext
          label: "Security Context"
          schema:
            additional_attrs: true
            type: dict
            attrs:
              - variable: privileged
                label: "Privileged mode"
                schema:
                  type: boolean
                  default: false
              - variable: readOnlyRootFilesystem
                label: "ReadOnly Root Filesystem"
                schema:
                  type: boolean
                  default: false
              - variable: allowPrivilegeEscalation
                label: "Allow Privilege Escalation"
                schema:
                  type: boolean
                  default: false
              - variable: runAsNonRoot
                label: "runAsNonRoot"
                schema:
                  type: boolean
                  default: true
# Include{securityContextAdvanced}

  - variable: podSecurityContext
    group: "Security and Permissions"
    label: "Pod Security Context"
    schema:
      additional_attrs: true
      type: dict
      attrs:
        - variable: runAsUser
          label: "runAsUser"
          description: "The UserID of the user running the application"
          schema:
            type: int
            default: 1000
        - variable: runAsGroup
          label: "runAsGroup"
          description: "The groupID this App of the user running the application"
          schema:
            type: int
            default: 0
        - variable: fsGroup
          label: "fsGroup"
          description: "The group that should own ALL storage."
          schema:
            type: int
            default: 1000
# Include{podSecurityContextAdvanced}

# Include{resources}

# Include{advanced}

# Include{addons}
