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:
@@ -19,7 +19,7 @@ name: custom-app
|
|||||||
sources:
|
sources:
|
||||||
- https://github.com/truecharts/apps/tree/master/charts/stable/custom-app
|
- https://github.com/truecharts/apps/tree/master/charts/stable/custom-app
|
||||||
type: application
|
type: application
|
||||||
version: 3.0.70
|
version: 3.0.71
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- custom
|
- custom
|
||||||
|
|||||||
@@ -117,6 +117,115 @@ questions:
|
|||||||
attrs:
|
attrs:
|
||||||
# Include{fixedEnv}
|
# Include{fixedEnv}
|
||||||
# Include{containerConfig}
|
# 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
|
- variable: service
|
||||||
group: "Networking and Services"
|
group: "Networking and Services"
|
||||||
|
|||||||
Reference in New Issue
Block a user