# Include{groups}
portals: {}
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: OVERSEERR__API
                                        label: "OVERSEERR__API"
                                        schema:
                                          type: string
                                          private: true
                                          default: ""
                                      - variable: OVERSEERR__DEFAULT_ID
                                        label: "OVERSEERR__DEFAULT_ID"
                                        description: "The Overseerr user id to use by default if there is no associated discord account for the requester"
                                        schema:
                                          type: string
                                          private: true
                                          default: ""
                                      - variable: SONARR__API
                                        label: "SONARR__API"
                                        schema:
                                          type: string
                                          private: true
                                          default: ""
                                      - variable: RADARR__API
                                        label: "RADARR__API"
                                        schema:
                                          type: string
                                          private: true
                                          default: ""
                                      - variable: DISCORD__TOKEN
                                        label: "DISCORD__TOKEN"
                                        schema:
                                          type: string
                                          private: true
                                          required: true
                                          default: ""
                                      - variable: DISCORD__ROLE_ID
                                        label: "DISCORD__ROLE_ID"
                                        description: "The discord role id for users of the bot (omitting this lets everyone on the server use the bot)"
                                        schema:
                                          type: string
                                          private: true
                                          default: ""
                                      - variable: OVERSEERR__URL
                                        label: "OVERSEERR__URL"
                                        schema:
                                          type: string
                                          default: ""
                                      - variable: SONARR__URL
                                        label: "SONARR__URL"
                                        schema:
                                          type: string
                                          default: ""
                                      - variable: SONARR__QUALITY_PROFILE
                                        label: "SONARR__QUALITY_PROFILE"
                                        description: "The name of the quality profile to use by default for Sonarr"
                                        schema:
                                          type: string
                                          default: ""
                                      - variable: SONARR__LANGUAGE_PROFILE
                                        label: "SONARR__LANGUAGE_PROFILE"
                                        description: "The name of the language profile to use by default for Sonarr"
                                        schema:
                                          type: string
                                          default: ""
                                      - variable: RADARR__URL
                                        label: "RADARR__URL"
                                        schema:
                                          type: string
                                          default: ""
                                      - variable: RADARR__QUALITY_PROFILE
                                        label: "RADARR__QUALITY_PROFILE"
                                        description: "The name of the quality profile to use by default for Radarr"
                                        schema:
                                          type: string
                                          default: ""
                                      - variable: DISCORD__MAX_RESULTS
                                        label: "DISCORD__MAX_RESULTS"
                                        description: "Sets the maximum size of the search results selection"
                                        schema:
                                          type: int
                                          default: 25
                                      - variable: DISCORD__REQUESTED_MSG_STYLE
                                        label: "DISCORD__REQUESTED_MSG_STYLE"
                                        description: "Sets the style of the request alert message."
                                        schema:
                                          type: string
                                          default: ":plain"
                                          enum:
                                            - value: ":plain"
                                              description: ":plain"
                                            - value: ":embed"
                                              description: ":embed"
                                            - value: ":none"
                                              description: ":none"
                                      - variable: PARTIAL_SEASONS
                                        label: "PARTIAL_SEASONS"
                                        description: "Sets whether users can request partial seasons."
                                        schema:
                                          type: boolean
                                          default: true
                                      - variable: LOG_LEVEL
                                        label: "LOG_LEVEL"
                                        description: "The log level for the logging backend. This can be changed for debugging purposes."
                                        schema:
                                          type: string
                                          default: ":info"
                                          enum:
                                            - value: ":trace"
                                              description: ":trace"
                                            - value: ":debug"
                                              description: ":debug"
                                            - value: ":info"
                                              description: ":info"
                                            - value: ":warn"
                                              description: ":warn"
                                            - value: ":error"
                                              description: ":error"
                                            - value: ":fatal"
                                              description: ":fatal"
                                            - value: ":repor"
                                              description: ":repor"
# Include{containerBasic}
# Include{containerAdvanced}

# Include{containerConfig}
# Include{podOptions}
# Include{serviceExpertRoot}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceList}
# 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}
