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:
Stavros Kois
2022-08-08 23:25:02 +02:00
committed by GitHub
co-authored by Kjeld Schouten-Lebbing
parent f655142dc6
commit ac9cc7f736
1531 changed files with 13457 additions and 133255 deletions
+35
View File
@@ -0,0 +1,35 @@
- variable: metrics
group: Metrics
label: Prometheus Metrics
schema:
additional_attrs: true
type: dict
attrs:
- variable: enabled
label: Enabled
description: Enable Prometheus Metrics
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: serviceMonitor
label: Service Monitor Settings
schema:
additional_attrs: true
type: dict
attrs:
- variable: interval
label: Scrape Interval
description: Scrape interval time
schema:
type: string
default: 1m
required: true
- variable: scrapeTimeout
label: Scrape Timeout
description: Scrape timeout Time
schema:
type: string
default: 30s
required: true
@@ -0,0 +1,35 @@
- variable: metrics
group: Metrics
label: Prometheus Metrics
schema:
additional_attrs: true
type: dict
attrs:
- variable: enabled
label: Enabled
description: Enable Prometheus Metrics
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: serviceMonitor
label: Service Monitor Settings
schema:
additional_attrs: true
type: dict
attrs:
- variable: interval
label: Scrape Interval
description: Scrape interval time
schema:
type: string
default: 3m
required: true
- variable: scrapeTimeout
label: Scrape Timeout
description: Scrape timeout Time
schema:
type: string
default: 1m
required: true
@@ -0,0 +1,35 @@
- variable: metrics
group: Metrics
label: Prometheus Metrics
schema:
additional_attrs: true
type: dict
attrs:
- variable: enabled
label: Enabled
description: Enable Prometheus Metrics
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: serviceMonitor
label: Service Monitor Settings
schema:
additional_attrs: true
type: dict
attrs:
- variable: interval
label: Scrape Interval
description: Scrape interval time
schema:
type: string
default: 60m
required: true
- variable: scrapeTimeout
label: Scrape Timeout
description: Scrape timeout Time
schema:
type: string
default: 1m
required: true