TrueChartsClone/charts/stable/wordpress/questions.yaml

256 lines
7.6 KiB
YAML

# Include{groups}
portals:
open:
# Include{portalLink}
questions:
# Include{global}
# Include{controller}
# Include{replicas}
# Include{replica1}
# Include{controllerExpertExtraArgs}
# Include{containerConfig}
- variable: wordpress
group: App Configuration
label: WordPress Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: user
label: User Name
description: Username for wordpress.
schema:
type: string
required: true
default: ""
- variable: pass
label: User Password
description: User Password for wordpress.
schema:
type: string
private: true
required: true
default: ""
- variable: email
label: Wordpress Email
description: WordPress application email.
schema:
type: string
required: true
default: ""
- variable: first_name
label: Wordpress First Name
description: WordPress user first name.
schema:
type: string
required: true
default: ""
- variable: last_name
label: Wordpress Last Name
description: WordPress user last name.
schema:
type: string
required: true
default: ""
- variable: blog_name
label: Wordpress Blog Name
description: WordPress blog name.
schema:
type: string
required: true
default: Truecharts Blog
- variable: enable_reverse_proxy_headers
label: Wordpress Reverse Proxy Headers Support
description: Enable WordPress support for reverse proxy headers
schema:
type: boolean
default: true
- variable: smtp
group: App Configuration
label: SMTP Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: enabled
label: Enable SMTP
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: host
label: SMTP Host
schema:
type: string
default: ""
required: true
- variable: port
label: SMTP Port
schema:
type: int
required: true
default: 587
- variable: user
label: SMTP User
schema:
type: string
default: ""
- variable: pass
label: SMTP Pass
schema:
type: string
private: true
default: ""
- variable: php-config
group: App Configuration
label: PHP Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: PHP_ENABLE_OPCACHE
label: Enable OPCache
description: Enable OPcache for PHP scripts.
schema:
type: string
default: "yes"
- variable: PHP_EXPOSE_PHP
label: Expose PHP
description: Enables HTTP header with PHP version.
schema:
type: string
default: ""
- variable: PHP_MAX_EXECUTION_TIME
label: Max Execution Time
description: Maximum execution time for PHP scripts.
schema:
type: string
default: ""
- variable: PHP_MAX_INPUT_TIME
label: Max Input Time
description: Maximum input time for PHP scripts.
schema:
type: string
default: ""
- variable: PHP_MAX_INPUT_VARS
label: Max Input Vars
description: Maximum amount of input variables for PHP scripts.
schema:
type: string
default: ""
- variable: PHP_MEMORY_LIMIT
label: Memory Limit
description: Memory limit for PHP scripts.
schema:
type: string
default: 512M
- variable: PHP_POST_MAX_SIZE
label: Post Max Size
description: Maximum size for PHP POST requests.
schema:
type: string
default: ""
- variable: PHP_UPLOAD_MAX_FILESIZE
label: Upload Max Filesize
description: Maximum file size for PHP uploads.
schema:
type: string
default: ""
# 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: 10591
required: true
# Include{serviceExpertRoot}
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: config
label: App Config Storage
description: Stores the Application Config.
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: false
- 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: 0
- 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}