# Include{groups}
portals: {}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}

# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}

  - variable: env
    group: "App Configuration"
    label: "Image Environment"
    schema:
      additional_attrs: true
      type: dict
      attrs:
        - variable: DELETE_TS
          label: "DELETE_TS"
          description: "Remove the original .ts recording file. 0 = Yes, 1 = No, 2 = Move to backup directory"
          schema:
            type: string
            default: "1"
        - variable: SUBTITLES
          label: "SUBTITLES"
          description: "Extract subtitles to .srt. 0= Yes, 1 = No"
          schema:
            type: string
            default: "0"
        - variable: CONVERSION_FORMAT
          label: "CONVERSION_FORMAT"
          description: "mkv or mp4"
          schema:
            type: string
            default: "mkv"
        - variable: SOURCE_EXT
          label: "SOURCE_EXT"
          description: "Source file extension, default .ts"
          schema:
            type: string
            default: "ts"
        - variable: POST_PROCESS
          label: "POST_PROCESS"
          description: "comchap or comcutdefault comchap"
          schema:
            type: string
            default: "comchap"
        - variable: NVIDIA_VISIBLE_DEVICES
          label: "NVIDIA_VISIBLE_DEVICES"
          description: "GPU UUID retrieved from Nvidia plugin settings"
          schema:
            type: string
            default: ""
        - variable: UMASK
          label: "UMASK"
          description: "Container Variable UMASK"
          schema:
            type: string
            default: "000"
# Include{serviceExpertRoot}
            default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
        - variable: config
          label: "config Storage"
          description: "Configuration folder config"
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{persistenceBasic}
        - variable: watchfolder
          label: "watchfolder Storage"
          description: "This location contains .ts files that need converting watch"
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{persistenceBasic}
        - variable: backupfolder
          label: "backupfolder Storage"
          description: "Optional, only used if DELETETS is set to 2  backup"
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{persistenceBasic}
# Include{persistenceList}
# Include{securityContextRoot}

              - variable: runAsUser
                label: "runAsUser"
                description: "The UserID of the user running the application"
                schema:
                  type: int
                  default: 0
              - variable: runAsGroup
                label: "runAsGroup"
                description: "The groupID of the user running the application"
                schema:
                  type: int
                  default: 0
# 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}
