TrueChartsClone/charts/stable/doplarr/questions.yaml

285 lines
8.7 KiB
YAML

# Include{groups}
portals: {}
questions:
# Include{global}
- variable: controller
group: "Controller"
label: ""
schema:
additional_attrs: true
type: dict
attrs:
- variable: advanced
label: "Show Advanced Controller Settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: type
description: "Please specify type of workload to deploy"
label: "(Advanced) Controller Type"
schema:
type: string
default: "deployment"
required: true
enum:
- value: "deployment"
description: "Deployment"
- value: "statefulset"
description: "Statefulset"
- value: "daemonset"
description: "Daemonset"
- variable: replicas
description: "Number of desired pod replicas"
label: "Desired Replicas"
schema:
type: int
default: 1
required: true
- variable: strategy
description: "Please specify type of workload to deploy"
label: "(Advanced) Update Strategy"
schema:
type: string
default: "RollingUpdate"
required: true
enum:
- value: "Recreate"
description: "Recreate: Kill existing pods before creating new ones"
- value: "RollingUpdate"
description: "RollingUpdate: Create new pods and then kill old ones"
- value: "OnDelete"
description: "(Legacy) OnDelete: ignore .spec.template changes"
# Include{controllerExpert}
- variable: secret
group: "Container Configuration"
label: "Image Secrets"
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: env
group: "Container Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- 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{containerConfig}
- variable: serviceexpert
group: "Networking and Services"
label: "Show Expert Config"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: hostNetwork
group: "Networking and Services"
label: "Host-Networking (Complicated)"
schema:
type: boolean
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceList}
# Include{ingressList}
# Include{security}
- variable: advancedSecurity
label: "Show Advanced Security Settings"
group: "Security and Permissions"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: securityContext
label: "Security Context"
schema:
additional_attrs: true
type: dict
attrs:
- variable: privileged
label: "Privileged mode"
schema:
type: boolean
default: false
- variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem"
schema:
type: boolean
default: true
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
schema:
type: boolean
default: false
- variable: runAsNonRoot
label: "runAsNonRoot"
schema:
type: boolean
default: true
# Include{securityContextAdvanced}
- variable: podSecurityContext
group: "Security and Permissions"
label: "Pod Security Context"
schema:
additional_attrs: true
type: dict
attrs:
- 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
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
# Include{podSecurityContextAdvanced}
# Include{resources}
# Include{advanced}
# Include{addons}