183 lines
8.6 KiB
YAML
183 lines
8.6 KiB
YAML
# Include{groups}
|
|
portals:
|
|
open:
|
|
# Include{portalLink}
|
|
questions:
|
|
# Include{global}
|
|
# Include{workload}
|
|
# Include{workloadDeployment}
|
|
# Include{replicas1}
|
|
# Include{podSpec}
|
|
# Include{containerMain}
|
|
- variable: imageSelector
|
|
label: Select Image
|
|
schema:
|
|
type: string
|
|
default: image
|
|
enum:
|
|
- value: image
|
|
description: Image
|
|
- value: slimImage
|
|
description: Slim
|
|
- variable: env
|
|
label: Image Environment
|
|
schema:
|
|
additional_attrs: true
|
|
type: dict
|
|
attrs:
|
|
- variable: PASTEY_BEHIND_PROXY
|
|
label: "Pastey Behind Proxy"
|
|
description: "Inform Pastey if it is behind a reverse proxy."
|
|
schema:
|
|
type: boolean
|
|
default: false
|
|
- variable: PASTEY_GUESS_THRESHOLD
|
|
label: "Pastey Guess Threshold"
|
|
description: "Threshold for automatic language detection guesses."
|
|
schema:
|
|
type: string
|
|
default: "0.20"
|
|
- variable: PASTEY_RATE_LIMIT
|
|
label: "Pastey Rate Limit"
|
|
description: "Rate limit for pasting, for non-whitelisted users."
|
|
schema:
|
|
type: string
|
|
default: "5/hour"
|
|
- variable: PASTEY_RECENT_PASTES
|
|
label: "Pastey Recent Pastes"
|
|
description: "Number of recent pastes to show on the home page."
|
|
schema:
|
|
type: int
|
|
default: 10
|
|
- variable: PASTEY_RESTRICT_PASTING
|
|
label: "Pastey Restrict Pasting"
|
|
description: "Enable/disable restricting of pasting to whitelisted users."
|
|
schema:
|
|
type: boolean
|
|
default: false
|
|
- variable: PASTEY_USE_WHITELIST
|
|
label: "Pastey Use Whitelist"
|
|
description: "Enable/disable whitelisting for admin tasks."
|
|
schema:
|
|
type: boolean
|
|
default: true
|
|
- variable: PASTEY_WHITELIST_CIDR
|
|
label: "Pastey WhiteList CIDR"
|
|
description: "List of whitelisted IP addresses or networks."
|
|
schema:
|
|
type: string
|
|
default: "127.0.0.1/32,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
|
|
- variable: PASTEY_DEFAULT_THEME
|
|
label: "Pastey Default Theme"
|
|
schema:
|
|
type: string
|
|
default: "Dark"
|
|
enum:
|
|
- value: "Dark"
|
|
description: "Dark"
|
|
- value: "Light"
|
|
description: "Light"
|
|
- variable: PASTEY_PURGE_INTERVAL
|
|
label: "Pastey Purge Interval"
|
|
description: "Purge interval (in seconds) for checking expired pastes in background thread."
|
|
schema:
|
|
type: int
|
|
default: 10
|
|
- variable: PASTEY_FORCE_SHOW_RECENT
|
|
label: "Pastey Force Show Recent"
|
|
description: "Show recent pastes on the home page, even to non-whitelisted users."
|
|
schema:
|
|
type: boolean
|
|
default: false
|
|
- variable: PASTEY_IGNORE_GUESS
|
|
label: "Pastey Ignore Guess"
|
|
description: "Ignore these classifications for language detection."
|
|
schema:
|
|
type: string
|
|
default: "TeX,SQL"
|
|
- variable: PASTEY_SHOW_CLI_BUTTON
|
|
label: "Pastey Show Cli Button"
|
|
description: "Enable/disabling showing of CLI button on home page."
|
|
schema:
|
|
type: boolean
|
|
default: true
|
|
# Include{containerBasic}
|
|
# Include{containerAdvanced}
|
|
# Include{containerConfig}
|
|
# Include{podOptions}
|
|
# 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: 5000
|
|
required: true
|
|
# Include{serviceExpertRoot}
|
|
# Include{serviceExpert}
|
|
# Include{serviceList}
|
|
# Include{persistenceRoot}
|
|
- variable: data
|
|
label: "App Data Storage"
|
|
description: "Stores the Application Data."
|
|
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{ingressAdvanced}
|
|
# Include{ingressList}
|
|
# 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}
|