2021-12-28 12:02:51 +00:00
|
|
|
# Include{groups}
|
|
|
|
portals:
|
2022-02-24 18:15:06 +00:00
|
|
|
open:
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{portalLink}
|
2021-12-28 12:02:51 +00:00
|
|
|
questions:
|
|
|
|
# Include{global}
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{controller}
|
|
|
|
# Include{controllerDeployment}
|
|
|
|
# Include{replicas}
|
|
|
|
# Include{replica1}
|
|
|
|
# Include{strategy}
|
|
|
|
# Include{recreate}
|
2021-12-28 12:02:51 +00:00
|
|
|
# Include{controllerExpert}
|
2022-08-12 08:40:46 +00:00
|
|
|
# Include{controllerExpertExtraArgs}
|
2022-06-07 17:41:19 +00:00
|
|
|
- variable: secretEnv
|
2021-12-28 12:02:51 +00:00
|
|
|
group: "Container Configuration"
|
|
|
|
label: "Image Secrets"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-12-28 12:02:51 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: SPOTWEB_USERNAME
|
|
|
|
label: "Admin username"
|
|
|
|
description: "Username to configure for the admin of this installation."
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-03-27 17:10:34 +00:00
|
|
|
default: ""
|
2022-01-06 11:16:54 +00:00
|
|
|
valid_chars: ^((?!god|mod|spot|admin|drazix|superuser|supervisor|root|anonymous)[^<>])*$
|
2021-12-28 12:02:51 +00:00
|
|
|
required: true
|
|
|
|
- variable: SPOTWEB_PASSWORD
|
|
|
|
label: "Admin password"
|
|
|
|
description: "Password to configure for the admin of this installation."
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-03-27 17:10:34 +00:00
|
|
|
default: ""
|
|
|
|
valid_chars: "[a-zA-Z0-9!@#$%^&*?]{8,}"
|
2021-12-28 12:02:51 +00:00
|
|
|
private: true
|
|
|
|
required: true
|
|
|
|
- variable: env
|
|
|
|
group: "Container Configuration"
|
|
|
|
label: "Image Environment"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-12-28 12:02:51 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: SPOTWEB_SYSTEMTYPE
|
|
|
|
label: "System Type"
|
|
|
|
description: "System type to configure during initialization."
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
default: "single"
|
|
|
|
enum:
|
|
|
|
- value: "single"
|
|
|
|
description: "Singe User System"
|
|
|
|
- value: "shared"
|
|
|
|
description: "Shared System"
|
|
|
|
- value: "public"
|
|
|
|
description: "Public System"
|
|
|
|
- variable: SPOTWEB_FIRSTNAME
|
|
|
|
label: "Admin first name"
|
|
|
|
description: "The first name of the admin user."
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
default: "firstname"
|
2022-01-07 18:34:14 +00:00
|
|
|
valid_chars: ^([^<>]{2})([^<>]*)$
|
2021-12-28 12:02:51 +00:00
|
|
|
- variable: SPOTWEB_LASTNAME
|
|
|
|
label: "Admin last name"
|
|
|
|
description: "Last name of the admin user."
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
default: "lastname"
|
2022-01-07 18:34:14 +00:00
|
|
|
valid_chars: ^([^<>]{2})([^<>]*)$
|
2021-12-28 12:02:51 +00:00
|
|
|
- variable: SPOTWEB_MAIL
|
|
|
|
label: "Admin mail adres"
|
|
|
|
description: "Email adres to configure for the provided admin user."
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
default: firstname@lastname.com
|
2022-01-06 11:16:54 +00:00
|
|
|
valid_chars: ^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$
|
2021-12-28 12:02:51 +00:00
|
|
|
- variable: SPOTWEB_RETRIEVE
|
|
|
|
label: "SPOTWEB_RETRIEVE"
|
|
|
|
description: "Schedule on which to automatically retrieve new spots."
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "15min"
|
|
|
|
enum:
|
|
|
|
- value: "1min"
|
|
|
|
description: "Each minute"
|
|
|
|
- value: "5min"
|
|
|
|
description: "Every 5 minutes"
|
|
|
|
- value: "15min"
|
|
|
|
description: "Every 15 minutes"
|
|
|
|
- value: "hourly"
|
|
|
|
description: "Every hour"
|
|
|
|
- value: "weekly"
|
|
|
|
description: "Once a week"
|
|
|
|
- value: "monthly"
|
|
|
|
description:: "Once a month"
|
|
|
|
# Include{containerConfig}
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{serviceRoot}
|
2021-12-28 12:02:51 +00:00
|
|
|
- variable: main
|
|
|
|
label: "Main Service"
|
|
|
|
description: "Spotweb Web UI and API endpoint"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-12-28 12:02:51 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
# Include{serviceSelector}
|
|
|
|
- variable: main
|
|
|
|
label: "Web Interface"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-12-28 12:02:51 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: port
|
|
|
|
label: "Port"
|
|
|
|
description: "This port exposes the container port on the service"
|
|
|
|
schema:
|
|
|
|
type: int
|
2021-12-30 10:52:55 +00:00
|
|
|
default: 10050
|
2021-12-28 12:02:51 +00:00
|
|
|
editable: true
|
|
|
|
required: true
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{advancedPortHTTP}
|
2021-12-28 12:02:51 +00:00
|
|
|
- variable: targetPort
|
|
|
|
label: "Target Port"
|
|
|
|
description: "The internal(!) port on the container the Application runs on"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 80
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{serviceExpertRoot}
|
2021-12-28 12:02:51 +00:00
|
|
|
default: false
|
|
|
|
# Include{serviceExpert}
|
|
|
|
# Include{serviceList}
|
|
|
|
# Include{persistenceList}
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{ingressRoot}
|
2021-12-28 12:02:51 +00:00
|
|
|
- variable: main
|
|
|
|
label: "Main Ingress"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-12-28 12:02:51 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
2022-03-22 20:35:44 +00:00
|
|
|
# Include{ingressDefault}
|
|
|
|
# Include{ingressTLS}
|
|
|
|
# Include{ingressTraefik}
|
|
|
|
# Include{ingressExpert}
|
2021-12-28 12:02:51 +00:00
|
|
|
# Include{ingressList}
|
2022-03-03 14:04:31 +00:00
|
|
|
# Include{security}
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{securityContextAdvancedRoot}
|
2021-12-28 12:02:51 +00:00
|
|
|
- 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: false
|
2022-01-13 11:18:20 +00:00
|
|
|
# Include{securityContextAdvanced}
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{podSecurityContextRoot}
|
2021-12-28 12:02:51 +00:00
|
|
|
- variable: runAsUser
|
|
|
|
label: "runAsUser"
|
|
|
|
description: "The UserID of the user running the application"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 0
|
|
|
|
- variable: runAsGroup
|
|
|
|
label: "runAsGroup"
|
2022-04-20 07:35:54 +00:00
|
|
|
description: "The groupID this App of the user running the application"
|
2021-12-28 12:02:51 +00:00
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 0
|
|
|
|
- variable: fsGroup
|
|
|
|
label: "fsGroup"
|
|
|
|
description: "The group that should own ALL storage."
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 568
|
2022-01-13 11:18:20 +00:00
|
|
|
# Include{podSecurityContextAdvanced}
|
2021-12-28 12:02:51 +00:00
|
|
|
# Include{resources}
|
|
|
|
# Include{advanced}
|
|
|
|
# Include{addons}
|
2022-08-12 11:15:27 +00:00
|
|
|
# Include{documentation}
|