fix(custom-app): fix probes indent and re-hide port (#8803)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Stavros Kois 2023-05-07 02:33:03 +03:00 committed by GitHub
parent f61454a6a8
commit 968cdebb4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 109 additions and 109 deletions

View File

@ -46,117 +46,116 @@ questions:
# Include{containerBasic}
# Include{containerAdvanced}
- variable: probes
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: "/"
# Include{containerConfig}
# Include{podOptions}
- variable: probes
group: "App 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: "/"
# Include{serviceRoot}
- variable: main
label: "Main Service"
@ -177,6 +176,7 @@ questions:
label: "Enable the port"
schema:
type: boolean
hidden: true
default: true
- variable: protocol
label: "Port Type"