# 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: TC_DISCORD_BOT_TOKEN
                                        label: "Discord Bot Token"
                                        description: "Discord Bot Token."
                                        schema:
                                          type: string
                                          required: true
                                          private: true
                                          default: ""
                                      - variable: TC_DISCORD_SERVER_ID
                                        label: "Discord Server ID"
                                        description: "Discord Server ID."
                                        schema:
                                          type: string
                                          required: true
                                          default: ""
                                      - variable: TC_TAUTULLI_URL
                                        label: "Tautulli URL"
                                        description: "IP/cluster URL of your Tautulli server."
                                        schema:
                                          type: string
                                          required: true
                                          default: ""
                                      - variable: TC_TAUTULLI_KEY
                                        label: "Tautulli Key"
                                        description: "API key for Tautulli server."
                                        schema:
                                          type: string
                                          required: true
                                          private: true
                                          default: ""
                                      - variable: TC_PLEX_PASS
                                        label: "Plex Pass"
                                        description: "Enable PlexPass Features."
                                        schema:
                                          type: string
                                          default: "False"
                                          enum:
                                            - value: "False"
                                              description: "False"
                                            - value: "True"
                                              description: "True"
                                      - variable: TC_REFRESH_SECONDS
                                        label: "Refresh Seconds"
                                        description: "Seconds between updates."
                                        schema:
                                          type: int
                                          default: 15
                                          min: 5
                                          max: 60
                                      - variable: TC_TERMINATE_MESSAGE
                                        label: "Terminate Message"
                                        description: "Message sent to users when a stream is killed."
                                        schema:
                                          type: string
                                          default: "Your stream has ended."
                                      - variable: TC_SERVER_NAME
                                        label: "Server Name"
                                        description: "Name of the Plex server."
                                        schema:
                                          type: string
                                          default: "Plex"
                                      - variable: TC_USE_24_HOUR_TIME
                                        label: "Use 24 Hour Time"
                                        description: "Whether to display times in 24-hour time."
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: hide_info
                                        label: Show Hidden Info Settings
                                        schema:
                                          type: boolean
                                          default: false
                                          show_subquestions_if: true
                                          subquestions:
                                            - variable: TC_HIDE_USERNAMES
                                              label: "Hide Usernames"
                                              description: "Whether to hide usernames in the streams view."
                                              schema:
                                                type: boolean
                                                default: false
                                            - variable: TC_HIDE_PLATFORMS
                                              label: "Hide Platforms"
                                              description: "Whether to hide platforms in the streams view."
                                              schema:
                                                type: boolean
                                                default: false
                                            - variable: TC_HIDE_PLAYER_NAMES
                                              label: "Hide Player Names"
                                              description: "Whether to hide player names in the streams view."
                                              schema:
                                                type: boolean
                                                default: false
                                            - variable: TC_HIDE_QUALITY
                                              label: "Hide Quality"
                                              description: "Whether to hide quality profiles in the streams view."
                                              schema:
                                                type: boolean
                                                default: false
                                            - variable: TC_HIDE_BANDWIDTH
                                              label: "Hide Bandwidth"
                                              description: "Whether to hide bandwidth in the streams view."
                                              schema:
                                                type: boolean
                                                default: false
                                            - variable: TC_HIDE_TRANSCODE
                                              label: "Hide Transcode"
                                              description: "Whether to hide transcoding statuses in the streams view."
                                              schema:
                                                type: boolean
                                                default: false
                                            - variable: TC_HIDE_PROGRESS
                                              label: "Hide Progress"
                                              description: "Whether to hide stream progress in the streams view."
                                              schema:
                                                type: boolean
                                                default: false
                                            - variable: TC_HIDE_ETA
                                              label: "Hide ETA"
                                              description: "Whether to hide stream ETAs in the streams view."
                                              schema:
                                                type: boolean
                                                default: false
                                      - variable: tc_vc_stats
                                        label: Show VC Stats Settings
                                        schema:
                                          type: boolean
                                          default: false
                                          show_subquestions_if: true
                                          subquestions:
                                            - variable: TC_VC_STATS_CATEGORY_NAME
                                              label: "VC Stats Category Name"
                                              description: "Name of the stats voice channel category."
                                              schema:
                                                type: string
                                                default: "Tautulli Stats"
                                            - variable: TC_VC_STREAM_COUNT
                                              label: "VC Stream Count"
                                              description: "Whether to display current stream count in a voice channel."
                                              schema:
                                                type: boolean
                                                default: false
                                            - variable: TC_VC_TRANSCODE_COUNT
                                              label: "VC Transcode Count"
                                              description: "Whether to display current transcode count in a voice channel."
                                              schema:
                                                type: boolean
                                                default: false
                                            - variable: TC_VC_BANDWIDTH
                                              label: "VC Bandwidth"
                                              description: "Whether to display current bandwidth in a voice channel."
                                              schema:
                                                type: boolean
                                                default: false
                                            - variable: TC_VC_LOCAL_BANDWIDTH
                                              label: "VC Local Bandwidth"
                                              description: "Whether to display current local bandwidth in a voice channel."
                                              schema:
                                                type: boolean
                                                default: false
                                            - variable: TC_VC_REMOTE_BANDWIDTH
                                              label: "VC Remote Bandwidth"
                                              description: "Whether to display current remote bandwidth in a voice channel."
                                              schema:
                                                type: boolean
                                                default: false
                                            - variable: TC_VC_PLEX_STATUS
                                              label: "VC Plex Status"
                                              description: "Whether to display Plex online status in a voice channel."
                                              schema:
                                                type: boolean
                                                default: false
                                      - variable: tc_vc_libraries
                                        label: Show VC Libraries Settings
                                        schema:
                                          type: boolean
                                          default: false
                                          show_subquestions_if: true
                                          subquestions:
                                            - variable: TC_VC_LIBRARIES_CATEGORY_NAME
                                              label: "VC Libraries Category Name"
                                              description: "Name of the libraries voice channel category."
                                              schema:
                                                type: string
                                                default: "Tautulli Libraries"
                                            - variable: TC_VC_LIBRARY_STATS
                                              label: "VC Library Stats"
                                              description: "Whether to display library statistics in voice channels."
                                              schema:
                                                type: boolean
                                                default: false
                                            - variable: TC_VC_LIBRARY_NAMES
                                              label: "VC Library Names"
                                              description: "Comma-separated list of libraries to display statistics of."
                                              schema:
                                                type: string
                                                default: "Movies,TV Shows,Music"
                                            - variable: TC_VC_LIBRARY_REFRESH_SECONDS
                                              label: "VC Library Names"
                                              description: "Seconds between updates."
                                              schema:
                                                type: int
                                                default: 3600
                                                min: 300
                                            - variable: TC_VC_LIBRARY_USE_EMOJIS
                                              label: "VC Library Use Emojis"
                                              description: "Whether to use emojis to symbolize library types."
                                              schema:
                                                type: boolean
                                                default: true
                                            - variable: TC_VC_TV_SERIES_COUNT
                                              label: "VC TV Series Count"
                                              description: "Display series counts for all selected series libraries."
                                              schema:
                                                type: boolean
                                                default: true
                                            - variable: TC_VC_TV_EPISODE_COUNT
                                              label: "VC TV Episode Count"
                                              description: "Display episode counts for all selected series libraries."
                                              schema:
                                                type: boolean
                                                default: true
                                            - variable: TC_VC_MUSIC_ARTIST_COUNT
                                              label: "VC Music Artist Count"
                                              description: "Display artist counts for all selected music libraries."
                                              schema:
                                                type: boolean
                                                default: true
                                            - variable: TC_VC_MUSIC_TRACK_COUNT
                                              label: "VC Music Track Count"
                                              description: "Display track counts for all selected music libraries."
                                              schema:
                                                type: boolean
                                                default: true
                                      - variable: tc_vc_performance
                                        label: Show VC Performance Settings
                                        schema:
                                          type: boolean
                                          default: false
                                          show_subquestions_if: true
                                          subquestions:
                                            - variable: TC_VC_PERFORMANCE_CATEGORY_NAME
                                              label: "VC Performance Category Name"
                                              description: "Name of the performance voice channel category."
                                              schema:
                                                type: string
                                                default: "Performance"
                                            - variable: TC_MONITOR_CPU
                                              label: "Monitor CPU"
                                              description: "Whether to monitor CPU performance."
                                              schema:
                                                type: boolean
                                                default: false
                                            - variable: TC_MONITOR_MEMORY
                                              label: "Monitor Memory"
                                              description: "Whether to monitor RAM performance."
                                              schema:
                                                type: boolean
                                                default: false
                                      - variable: TC_DISCORD_ADMIN_IDS
                                        label: "Discord Admin IDS"
                                        description: "Comma separated of Discord IDs with admin privileges."
                                        schema:
                                          type: string
                                          default: ""
                                      - variable: TC_DISCORD_POST_SUMMARY_MESSAGE
                                        label: "Discord Admin IDS"
                                        description: "Whether to post a stat summary text message."
                                        schema:
                                          type: boolean
                                          default: true
                                      - variable: TC_DISCORD_CHANNEL_NAME
                                        label: "Discord Channel Name"
                                        description: "Channel name for stats summary text message."
                                        schema:
                                          type: string
                                          default: "Tautulli Status"
                                      - variable: TC_DISCORD_NITRO
                                        label: "Discord Nitro"
                                        description: "Whether the Discord server has a Nitro subscription. (bot will upload custom emojis)"
                                        schema:
                                          type: boolean
                                          default: false
                                      - variable: TC_ALLOW_ANALYTICS
                                        label: "TC Allow Analytics"
                                        description: "Allow Anonymous Crash Analytics"
                                        schema:
                                          type: boolean
                                          default: false

# Include{containerBasic}
# Include{containerAdvanced}

# Include{containerConfig}
# Include{podOptions}
# Include{serviceExpertRoot}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
        - variable: logs
          label: "App Logs Storage"
          description: "Stores the Application Logs."
          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 this App 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}
