2021-11-23 20:36:27 +00:00
|
|
|
# Include{groups}
|
|
|
|
portals: {}
|
|
|
|
|
|
|
|
questions:
|
|
|
|
# Include{global}
|
|
|
|
|
2021-11-24 22:47:25 +00:00
|
|
|
- variable: secret
|
|
|
|
group: "Container Configuration"
|
|
|
|
label: "Secret Image Environment"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-11-24 22:47:25 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: UP_UNIFI_DEFAULT_PASS
|
|
|
|
label: "Unifi Password"
|
|
|
|
description: "Password for the Unifi user specified below"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
required: true
|
|
|
|
|
2021-11-23 20:36:27 +00:00
|
|
|
- variable: env
|
|
|
|
group: "Container Configuration"
|
|
|
|
label: "Image Environment"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-11-23 20:36:27 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
2021-11-24 22:47:25 +00:00
|
|
|
- variable: UP_UNIFI_DEFAULT_URL
|
|
|
|
label: "Unifi URL"
|
|
|
|
description: "Unifi URL including Port and http(s) prefix"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "https://127.0.0.1:8443"
|
|
|
|
required: true
|
|
|
|
- variable: UP_UNIFI_DEFAULT_USER
|
|
|
|
label: "Unifi User"
|
|
|
|
description: "User on Unifi with access to the data"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
required: true
|
|
|
|
|
2021-11-23 20:36:27 +00:00
|
|
|
# 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}
|
2022-03-03 14:04:31 +00:00
|
|
|
|
|
|
|
# Include{security}
|
2021-11-23 20:36:27 +00:00
|
|
|
|
|
|
|
- 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:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-11-23 20:36:27 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- 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
|
2022-01-13 11:18:20 +00:00
|
|
|
# Include{securityContextAdvanced}
|
2021-11-23 20:36:27 +00:00
|
|
|
|
|
|
|
- variable: podSecurityContext
|
|
|
|
group: "Security and Permissions"
|
|
|
|
label: "Pod Security Context"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-11-23 20:36:27 +00:00
|
|
|
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
|
2022-01-13 11:18:20 +00:00
|
|
|
# Include{podSecurityContextAdvanced}
|
2021-11-23 20:36:27 +00:00
|
|
|
|
|
|
|
# Include{resources}
|
|
|
|
|
|
|
|
# Include{metrics}
|
|
|
|
|
|
|
|
# Include{prometheusRule}
|
|
|
|
|
|
|
|
# Include{advanced}
|
|
|
|
|
|
|
|
# Include{addons}
|