TrueChartsClone/charts/incubator/hasty-paste/questions.yaml

245 lines
7.9 KiB
YAML

# Include{groups}
portals:
open:
# Include{portalLink}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
- variable: hastyPaste
group: App Configuration
label: Hasty Paste Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: new_at_index
label: New at Index
description: Index page displays new paste page instead
schema:
type: boolean
default: false
- variable: enable_public_list
label: Enable Public List
description: Whether to enable public access for listing pastes
schema:
type: boolean
default: false
- variable: max_body_size
label: Max Body Size
description: The max body size, given in bytes
schema:
type: int
required: true
default: 2000000
- variable: log_level
label: Log Level
description: What log level to use
schema:
type: string
required: true
default: INFO
enum:
- value: INFO
description: Info
- value: WARNING
description: Warning
- value: ERROR
description: Error
- value: DEBUG
description: Debug
- value: CRITICAL
description: Critical
- variable: workers
label: Workers
description: Number of separate processes to spawn
schema:
type: int
required: true
default: 1
- variable: interface
label: Interface (UI)
schema:
additional_attrs: true
type: dict
attrs:
- variable: default_use_long_id
label: Default Use Long ID
description: Setting this to "True" or "False" hides the long id checkbox in UI
schema:
type: boolean
default: false
- variable: default_expire_time_enable
label: Default Expire Time Enable
description: Enable a default expire time in web ui
schema:
type: boolean
default: false
- variable: default_expire_time_minutes
label: Default Expire Time Minutes
description: Default minutes in ui for expiry if enabled
schema:
type: int
required: true
default: 0
- variable: default_expire_time_hours
label: Default Expire Time Hours
description: Default hours in ui for expiry if enabled
schema:
type: int
required: true
default: 1
- variable: default_expire_time_days
label: Default Expire Time Days
description: Default days in ui for expiry if enabled
schema:
type: int
required: true
default: 0
- variable: branding
label: Branding
schema:
additional_attrs: true
type: dict
attrs:
- variable: title
label: Title
description: Customize the app title
schema:
type: string
default: ""
- variable: description
label: Description
description: Customize the app description
schema:
type: string
default: ""
- variable: icon
label: Icon
description: Customize the app icon, provide as absolute filepath (Path inside the container)
schema:
type: string
default: ""
- variable: favicon
label: Favicon
description: Customize the app favicon, provide as absolute filepath (Path inside the container)
schema:
type: string
default: ""
- variable: css_file
label: CSS File
description: Customize the site theme, using a provided css file (Path inside the container)
schema:
type: string
default: ""
- variable: hide_version
label: Hide Version
description: Hide the app version number
schema:
type: boolean
default: false
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
label: Main Service
description: The Primary service on which the healthcheck runs, often the webUI
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: main
label: Main Service Port Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: Port
description: This port exposes the container port on the service
schema:
type: int
default: 10601
required: true
# Include{serviceExpertRoot}
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: config
label: App Config Storage
description: Stores the Application Configuration.
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: Main Ingress
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressList}
# Include{security}
# Include{securityContextAdvancedRoot}
- 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{podSecurityContextRoot}
- 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}
# Include{codeserver}
# Include{vpn}
# Include{documentation}