feat(custom-app): Allow to disable probes on GUI (#1860)
* feat(custom-app): Allow to disable probes on GUI * Add type and path for probes * declutter UI if probe is disabled ;)
This commit is contained in:
parent
487a050fa6
commit
d0c26549c9
|
@ -19,7 +19,7 @@ name: custom-app
|
|||
sources:
|
||||
- https://github.com/truecharts/apps/tree/master/charts/stable/custom-app
|
||||
type: application
|
||||
version: 3.0.70
|
||||
version: 3.0.71
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- custom
|
||||
|
|
|
@ -117,6 +117,115 @@ questions:
|
|||
attrs:
|
||||
# Include{fixedEnv}
|
||||
# Include{containerConfig}
|
||||
- variable: probes
|
||||
group: "Container Configuration"
|
||||
label: "Healthcheck Probes"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: liveness
|
||||
label: "Liveness"
|
||||
description: "Liveness Probe"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: enabled
|
||||
label: "Enable Probe"
|
||||
description: "Enables the probe"
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
show_subquestions_if: true
|
||||
subquestions:
|
||||
- variable: type
|
||||
label: "Probe Type"
|
||||
description: "Probe Type"
|
||||
schema:
|
||||
type: string
|
||||
default: "TCP"
|
||||
enum:
|
||||
- value: "TCP"
|
||||
description: "TCP"
|
||||
- value: "HTTP"
|
||||
description: "HTTP"
|
||||
- value: "HTTPS"
|
||||
description: "HTTPS"
|
||||
- variable: path
|
||||
label: "Probe Path"
|
||||
description: "Probe Path"
|
||||
schema:
|
||||
type: string
|
||||
default: "/"
|
||||
- variable: readiness
|
||||
label: "Readiness"
|
||||
description: "Readiness Probe"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: enabled
|
||||
label: "Enable Probe"
|
||||
description: "Enables the probe"
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
show_subquestions_if: true
|
||||
subquestions:
|
||||
- variable: type
|
||||
label: "Probe Type"
|
||||
description: "Probe Type"
|
||||
schema:
|
||||
type: string
|
||||
default: "TCP"
|
||||
enum:
|
||||
- value: "TCP"
|
||||
description: "TCP"
|
||||
- value: "HTTP"
|
||||
description: "HTTP"
|
||||
- value: "HTTPS"
|
||||
description: "HTTPS"
|
||||
- variable: path
|
||||
label: "Probe Path"
|
||||
description: "Probe Path"
|
||||
schema:
|
||||
type: string
|
||||
default: "/"
|
||||
- variable: startup
|
||||
label: "Startup"
|
||||
description: "Startup Probe"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: enabled
|
||||
label: "Enable Probe"
|
||||
description: "Enables the probe"
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
show_subquestions_if: true
|
||||
subquestions:
|
||||
- variable: type
|
||||
label: "Probe Type"
|
||||
description: "Probe Type"
|
||||
schema:
|
||||
type: string
|
||||
default: "TCP"
|
||||
enum:
|
||||
- value: "TCP"
|
||||
description: "TCP"
|
||||
- value: "HTTP"
|
||||
description: "HTTP"
|
||||
- value: "HTTPS"
|
||||
description: "HTTPS"
|
||||
- variable: path
|
||||
label: "Probe Path"
|
||||
description: "Probe Path"
|
||||
schema:
|
||||
type: string
|
||||
default: "/"
|
||||
|
||||
- variable: service
|
||||
group: "Networking and Services"
|
||||
|
|
Loading…
Reference in New Issue