# Include{groups}
portals:
  open:
# Include{portalLink}
    path: "/transmission/web/#files"
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}

# Include{replicas1}
# Include{podSpec}
# Include{containerMain}

                                - variable: env
                                  group: "App Configuration"
                                  label: "Image Environment"
                                  schema:
                                    additional_attrs: true
                                    type: dict
                                    attrs:
                                      - variable: TRANSMISSION_RPC_USERNAME
                                        label: TRANSMISSION_RPC_USERNAME
                                        schema:
                                          type: string
                                          default: "REPLACETHIS"
                                      - variable: TRANSMISSION_RPC_PASSWORD
                                        label: TRANSMISSION_RPC_PASSWORD
                                        schema:
                                          type: string
                                          private: true
                                          default: "REPLACETHIS"
                                      - variable: TRANSMISSION_ALT_SPEED_DOWN
                                        label: TRANSMISSION_ALT_SPEED_DOWN
                                        schema:
                                          type: int
                                          default: 50
                                      - variable: TRANSMISSION_ALT_SPEED_ENABLED
                                        label: TRANSMISSION_ALT_SPEED_ENABLED
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TRANSMISSION_ALT_SPEED_TIME_BEGIN
                                        label: TRANSMISSION_ALT_SPEED_TIME_BEGIN
                                        schema:
                                          type: int
                                          default: 540
                                      - variable: TRANSMISSION_ALT_SPEED_TIME_DAY
                                        label: TRANSMISSION_ALT_SPEED_TIME_DAY
                                        schema:
                                          type: int
                                          default: 127
                                      - variable: TRANSMISSION_ALT_SPEED_TIME_ENABLED
                                        label: TRANSMISSION_ALT_SPEED_TIME_ENABLED
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TRANSMISSION_ALT_SPEED_TIME_END
                                        label: TRANSMISSION_ALT_SPEED_TIME_END
                                        schema:
                                          type: int
                                          default: 1020
                                      - variable: TRANSMISSION_ALT_SPEED_UP
                                        label: TRANSMISSION_ALT_SPEED_UP
                                        schema:
                                          type: int
                                          default: 50
                                      - variable: TRANSMISSION_BIND_ADDRESS_IPV4
                                        label: TRANSMISSION_BIND_ADDRESS_IPV4
                                        schema:
                                          type: string
                                          default: "0.0.0.0"
                                      - variable: TRANSMISSION_BIND_ADDRESS_IPV6
                                        label: TRANSMISSION_BIND_ADDRESS_IPV6
                                        schema:
                                          type: string
                                          default: "::"
                                      - variable: TRANSMISSION_BLOCKLIST_ENABLED
                                        label: TRANSMISSION_BLOCKLIST_ENABLED
                                        schema:
                                          type: boolean
                                          default: true
                                      - variable: TRANSMISSION_BLOCKLIST_URL
                                        label: TRANSMISSION_BLOCKLIST_URL
                                        schema:
                                          type: string
                                          default: "http://john.bitsurge.net/public/biglist.p2p.gz"
                                      - variable: TRANSMISSION_CACHE_SIZE_MB
                                        label: TRANSMISSION_CACHE_SIZE_MB
                                        schema:
                                          type: int
                                          default: 4
                                      - variable: TRANSMISSION_DHT_ENABLED
                                        label: TRANSMISSION_DHT_ENABLED
                                        schema:
                                          type: boolean
                                          default: true
                                      - variable: TRANSMISSION_DOWNLOAD_DIR
                                        label: TRANSMISSION_DOWNLOAD_DIR
                                        schema:
                                          type: string
                                          default: "/downloads/complete"
                                      - variable: TRANSMISSION_DOWNLOAD_QUEUE_ENABLED
                                        label: TRANSMISSION_DOWNLOAD_QUEUE_ENABLED
                                        schema:
                                          type: boolean
                                          default: true
                                      - variable: TRANSMISSION_DOWNLOAD_QUEUE_SIZE
                                        label: TRANSMISSION_DOWNLOAD_QUEUE_SIZE
                                        schema:
                                          type: int
                                          default: 5
                                      - variable: TRANSMISSION_ENCRYPTION
                                        label: TRANSMISSION_ENCRYPTION
                                        schema:
                                          type: int
                                          default: 1
                                      - variable: TRANSMISSION_IDLE_SEEDING_LIMIT
                                        label: TRANSMISSION_IDLE_SEEDING_LIMIT
                                        schema:
                                          type: int
                                          default: 30
                                      - variable: TRANSMISSION_IDLE_SEEDING_LIMIT_ENABLED
                                        label: TRANSMISSION_IDLE_SEEDING_LIMIT_ENABLED
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TRANSMISSION_INCOMPLETE_DIR
                                        label: TRANSMISSION_INCOMPLETE_DIR
                                        schema:
                                          type: string
                                          default: "/downloads/incomplete"
                                      - variable: TRANSMISSION_INCOMPLETE_DIR_ENABLED
                                        label: TRANSMISSION_INCOMPLETE_DIR_ENABLED
                                        schema:
                                          type: boolean
                                          default: true
                                      - variable: TRANSMISSION_LPD_ENABLED
                                        label: TRANSMISSION_LPD_ENABLED
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TRANSMISSION_MESSAGE_LEVEL
                                        label: TRANSMISSION_MESSAGE_LEVEL
                                        schema:
                                          type: int
                                          default: 2
                                      - variable: TRANSMISSION_PEER_CONGESTION_ALGORITHM
                                        label: TRANSMISSION_PEER_CONGESTION_ALGORITHM
                                        schema:
                                          type: string
                                          default: ""
                                      - variable: TRANSMISSION_PEER_ID_TTL_HOURS
                                        label: TRANSMISSION_PEER_ID_TTL_HOURS
                                        schema:
                                          type: int
                                          default: 6
                                      - variable: TRANSMISSION_PEER_LIMIT_GLOBAL
                                        label: TRANSMISSION_PEER_LIMIT_GLOBAL
                                        schema:
                                          type: int
                                          default: 200
                                      - variable: TRANSMISSION_PEER_LIMIT_PER_TORRENT
                                        label: TRANSMISSION_PEER_LIMIT_PER_TORRENT
                                        schema:
                                          type: int
                                          default: 50
                                      - variable: TRANSMISSION_PEER_SOCKET_TOS
                                        label: TRANSMISSION_PEER_SOCKET_TOS
                                        schema:
                                          type: string
                                          default: "default"
                                      - variable: TRANSMISSION_PEX_ENABLED
                                        label: TRANSMISSION_PEX_ENABLED
                                        schema:
                                          type: boolean
                                          default: true
                                      - variable: TRANSMISSION_PORT_FORWARDING_ENABLED
                                        label: TRANSMISSION_PORT_FORWARDING_ENABLED
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TRANSMISSION_PREALLOCATION
                                        label: TRANSMISSION_PREALLOCATION
                                        schema:
                                          type: int
                                          default: 1
                                      - variable: TRANSMISSION_PREFETCH_ENABLED
                                        label: TRANSMISSION_PREFETCH_ENABLED
                                        schema:
                                          type: boolean
                                          default: true
                                      - variable: TRANSMISSION_QUEUE_STALLED_ENABLED
                                        label: TRANSMISSION_QUEUE_STALLED_ENABLED
                                        schema:
                                          type: boolean
                                          default: true
                                      - variable: TRANSMISSION_QUEUE_STALLED_MINUTES
                                        label: TRANSMISSION_QUEUE_STALLED_MINUTES
                                        schema:
                                          type: int
                                          default: 30
                                      - variable: TRANSMISSION_RATIO_LIMIT
                                        label: TRANSMISSION_RATIO_LIMIT
                                        schema:
                                          type: int
                                          default: 2
                                      - variable: TRANSMISSION_RATIO_LIMIT_ENABLED
                                        label: TRANSMISSION_RATIO_LIMIT_ENABLED
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TRANSMISSION_RENAME_PARTIAL_FILES
                                        label: TRANSMISSION_RENAME_PARTIAL_FILES
                                        schema:
                                          type: boolean
                                          default: true
                                      - variable: TRANSMISSION_RPC_AUTHENTICATION_REQUIRED
                                        label: TRANSMISSION_RPC_AUTHENTICATION_REQUIRED
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TRANSMISSION_RPC_BIND_ADDRESS
                                        label: TRANSMISSION_RPC_BIND_ADDRESS
                                        schema:
                                          type: string
                                          default: "0.0.0.0"
                                      - variable: TRANSMISSION_RPC_ENABLED
                                        label: TRANSMISSION_RPC_ENABLED
                                        schema:
                                          type: boolean
                                          default: true
                                      - variable: TRANSMISSION_RPC_HOST_WHITELIST
                                        label: TRANSMISSION_RPC_HOST_WHITELIST
                                        schema:
                                          type: string
                                          default: ""
                                      - variable: TRANSMISSION_RPC_HOST_WHITELIST_ENABLED
                                        label: TRANSMISSION_RPC_HOST_WHITELIST_ENABLED
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TRANSMISSION_RPC_WHITELIST
                                        label: TRANSMISSION_RPC_WHITELIST
                                        schema:
                                          type: string
                                          default: ""
                                      - variable: TRANSMISSION_RPC_WHITELIST_ENABLED
                                        label: TRANSMISSION_RPC_WHITELIST_ENABLED
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TRANSMISSION_SCRAPE_PAUSED_TORRENTS_ENABLED
                                        label: TRANSMISSION_SCRAPE_PAUSED_TORRENTS_ENABLED
                                        schema:
                                          type: boolean
                                          default: true
                                      - variable: TRANSMISSION_SCRIPT_TORRENT_DONE_ENABLED
                                        label: TRANSMISSION_SCRIPT_TORRENT_DONE_ENABLED
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TRANSMISSION_SCRIPT_TORRENT_DONE_FILENAME
                                        label: TRANSMISSION_SCRIPT_TORRENT_DONE_FILENAME
                                        schema:
                                          type: string
                                          default: ""
                                      - variable: TRANSMISSION_SEED_QUEUE_ENABLED
                                        label: TRANSMISSION_SEED_QUEUE_ENABLED
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TRANSMISSION_SEED_QUEUE_SIZE
                                        label: TRANSMISSION_SEED_QUEUE_SIZE
                                        schema:
                                          type: int
                                          default: 10
                                      - variable: TRANSMISSION_SPEED_LIMIT_DOWN
                                        label: TRANSMISSION_SPEED_LIMIT_DOWN
                                        schema:
                                          type: int
                                          default: 100
                                      - variable: TRANSMISSION_SPEED_LIMIT_DOWN_ENABLED
                                        label: TRANSMISSION_SPEED_LIMIT_DOWN_ENABLED
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TRANSMISSION_SPEED_LIMIT_UP
                                        label: TRANSMISSION_SPEED_LIMIT_UP
                                        schema:
                                          type: int
                                          default: 100
                                      - variable: TRANSMISSION_SPEED_LIMIT_UP_ENABLED
                                        label: TRANSMISSION_SPEED_LIMIT_UP_ENABLED
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TRANSMISSION_START_ADDED_TORRENTS
                                        label: TRANSMISSION_START_ADDED_TORRENTS
                                        schema:
                                          type: boolean
                                          default: true
                                      - variable: TRANSMISSION_TRASH_ORIGINAL_TORRENT_FILES
                                        label: TRANSMISSION_TRASH_ORIGINAL_TORRENT_FILES
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TRANSMISSION_UMASK
                                        label: TRANSMISSION_UMASK
                                        schema:
                                          type: int
                                          default: 2
                                      - variable: TRANSMISSION_UPLOAD_SLOTS_PER_TORRENT
                                        label: TRANSMISSION_UPLOAD_SLOTS_PER_TORRENT
                                        schema:
                                          type: int
                                          default: 14
                                      - variable: TRANSMISSION_UTP_ENABLED
                                        label: TRANSMISSION_UTP_ENABLED
                                        schema:
                                          type: boolean
                                          default: true
                                      - variable: TRANSMISSION_WATCH_DIR
                                        label: TRANSMISSION_WATCH_DIR
                                        schema:
                                          type: string
                                          default: "/watch"
                                      - variable: TRANSMISSION_WATCH_DIR_ENABLED
                                        label: TRANSMISSION_WATCH_DIR_ENABLED
                                        schema:
                                          type: boolean
                                          default: false
# Include{containerBasic}
# Include{containerAdvanced}

# Include{containerConfig}
# Include{serviceRoot}
# Include{serviceMain}
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
                    - 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: 10109
                              required: true
        - variable: torrent
          label: "Torrent Service"
          description: "Torrent service"
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
                    - variable: torrent
                      label: "TCP 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: 51414
                              required: true
# Include{serviceExpertRoot}
            default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
        - variable: config
          label: "App Config Storage"
          description: "Stores the Application Configuration."
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{persistenceBasic}
# Include{persistenceList}
# Include{ingressRoot}
        - variable: main
          label: "Main Ingress"
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressList}
# Include{securityContextRoot}

              - variable: runAsUser
                label: "runAsUser"
                description: "The UserID of the user running the application"
                schema:
                  type: int
                  default: 568
              - variable: runAsGroup
                label: "runAsGroup"
                description: "The groupID this App of the user running the application"
                schema:
                  type: int
                  default: 568
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
              - variable: fsGroup
                label: "fsGroup"
                description: "The group that should own ALL storage."
                schema:
                  type: int
                  default: 568

# Include{resources}
# Include{advanced}
# Include{addons}
# Include{codeserver}
# Include{netshoot}
# Include{vpn}
# Include{documentation}
