# 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: script
          label: "script"
          description: "encode.sh or mkvdts2ac3.sh"
          schema:
            type: string
            default: "encode.sh"
        - variable: parameters
          label: "parameters"
          description: "Parameters for FFmpeg"
          schema:
            type: string
            default: "-map 0;-vcodec copy;-scodec copy;-acodec ac3;-b:a 640k"
        - variable: output_format
          label: "output_format"
          description: "Format of output file."
          schema:
            type: string
            default: "mkv"
        - variable: mkvdts2ac3_params
          label: "mkvdts2ac3_params"
          description: "Parameters for mkvdts2ac3"
          schema:
            type: string
            default: "--compress none;-d;-n;-w /output;--new"
# Include{serviceExpertRoot}
            default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
        - variable: config
          label: "config Storage"
          description: "Config"
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{persistenceBasic}
        - variable: watch
          label: "watch Storage"
          description: "Watch"
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{persistenceBasic}
        - variable: output
          label: "output Storage"
          description: "Output"
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{persistenceBasic}
        - variable: copy
          label: "copy Storage"
          description: "Copy"
          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}
