chore(questions): replace questions parts with templates (#3402)
* chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
co-authored by
Kjeld Schouten-Lebbing
parent
f655142dc6
commit
ac9cc7f736
@@ -1,108 +1,105 @@
|
||||
- variable: TZ
|
||||
label: "Timezone"
|
||||
group: "Container Configuration"
|
||||
label: Timezone
|
||||
group: Container Configuration
|
||||
schema:
|
||||
type: string
|
||||
default: "Etc/UTC"
|
||||
$ref:
|
||||
- "definitions/timezone"
|
||||
|
||||
- variable: envList
|
||||
label: "Image environment"
|
||||
group: "Container Configuration"
|
||||
label: Image Environment
|
||||
group: Container Configuration
|
||||
schema:
|
||||
type: list
|
||||
default: []
|
||||
items:
|
||||
- variable: envItem
|
||||
label: "Environment Variable"
|
||||
label: Environment Variable
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: name
|
||||
label: "Name"
|
||||
label: Name
|
||||
schema:
|
||||
type: string
|
||||
- variable: value
|
||||
label: "Value"
|
||||
label: Value
|
||||
schema:
|
||||
type: string
|
||||
|
||||
- variable: expertpodconf
|
||||
group: "Container Configuration"
|
||||
label: "Show Expert Config"
|
||||
group: Container Configuration
|
||||
label: Show Expert Configuration
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
show_subquestions_if: true
|
||||
subquestions:
|
||||
- variable: tty
|
||||
label: "Enable TTY"
|
||||
description: "Determines whether containers in a pod runs with TTY enabled. By default pod has it disabled."
|
||||
group: "Workload Details"
|
||||
label: Enable TTY
|
||||
description: Determines whether containers in a pod runs with TTY enabled. By default pod has it disabled.
|
||||
group: Workload Details
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: stdin
|
||||
label: "Enable STDIN"
|
||||
description: "Determines whether containers in a pod runs with stdin enabled. By default pod has it disabled."
|
||||
group: "Workload Details"
|
||||
label: Enable STDIN
|
||||
description: Determines whether containers in a pod runs with stdin enabled. By default pod has it disabled.
|
||||
group: Workload Details
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: termination
|
||||
group: "Container Configuration"
|
||||
label: "Termination settings"
|
||||
group: Container Configuration
|
||||
label: Termination settings
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: gracePeriodSeconds
|
||||
label: "Grace Period Seconds"
|
||||
label: Grace Period Seconds
|
||||
schema:
|
||||
type: int
|
||||
default: 10
|
||||
- variable: podLabelsList
|
||||
group: "Container Configuration"
|
||||
label: "Pod Labels"
|
||||
group: Container Configuration
|
||||
label: Pod Labels
|
||||
schema:
|
||||
type: list
|
||||
default: []
|
||||
items:
|
||||
- variable: podLabelItem
|
||||
label: "Label"
|
||||
label: Label
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: name
|
||||
label: "Name"
|
||||
label: Name
|
||||
schema:
|
||||
type: string
|
||||
- variable: value
|
||||
label: "Value"
|
||||
label: Value
|
||||
schema:
|
||||
type: string
|
||||
|
||||
- variable: podAnnotationsList
|
||||
group: "Container Configuration"
|
||||
label: "Pod Annotations"
|
||||
group: Container Configuration
|
||||
label: Pod Annotations
|
||||
schema:
|
||||
type: list
|
||||
default: []
|
||||
items:
|
||||
- variable: podAnnotationItem
|
||||
label: "Label"
|
||||
label: Label
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: name
|
||||
label: "Name"
|
||||
label: Name
|
||||
schema:
|
||||
type: string
|
||||
- variable: value
|
||||
label: "Value"
|
||||
label: Value
|
||||
schema:
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user