fix(teslamate): Fix questions.yaml take 2 (#22331)

**Description**
fixes the issue identified post merge
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 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:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 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
- [x] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning
- [x] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

** App addition**

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

- [ ] 🖼️ 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._

---------

Signed-off-by: alfi0812 <43101280+alfi0812@users.noreply.github.com>
Co-authored-by: alfi0812 <43101280+alfi0812@users.noreply.github.com>
This commit is contained in:
Jamie
2024-05-22 11:09:10 -04:00
committed by GitHub
parent 6d3e4f9e14
commit cd5864e10c
2 changed files with 40 additions and 41 deletions

View File

@@ -37,4 +37,4 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/TeslaMate
- https://hub.docker.com/r/teslamate/teslamate
type: application
version: 1.0.5
version: 1.0.6

View File

@@ -10,50 +10,49 @@ questions:
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: env
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: DISABLE_MQTT
label: "Mqtt Disabled"
description: "Disables the MQTT feature if true"
schema:
type: boolean
default: true
- variable: MQTT_HOST
label: "Mqtt Host"
description: "Hostname of the broker."
schema:
type: string
default: ""
show_if: [["DISABLE_MQTT", "=", false]]
- variable: MQTT_PORT
label: "Mqtt Port"
schema:
type: int
default: 1883
show_if: [["DISABLE_MQTT", "=", false]]
- variable: MQTT_USERNAME
label: "Mqtt Username"
description: "Username of the broker."
schema:
type: string
default: ""
show_if: [["DISABLE_MQTT", "=", false]]
- variable: MQTT_PASSWORD
label: "Mqtt Password"
description: "Password of the broker."
schema:
type: string
private: true
show_if: [["DISABLE_MQTT", "=", false]]
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: DISABLE_MQTT
label: "Mqtt Disabled"
description: "Disables the MQTT feature if true"
schema:
type: boolean
default: true
- variable: MQTT_HOST
label: "Mqtt Host"
description: "Hostname of the broker."
schema:
type: string
default: ""
show_if: [["DISABLE_MQTT", "=", false]]
- variable: MQTT_PORT
label: "Mqtt Port"
schema:
type: int
default: 1883
show_if: [["DISABLE_MQTT", "=", false]]
- variable: MQTT_USERNAME
label: "Mqtt Username"
description: "Username of the broker."
schema:
type: string
default: ""
show_if: [["DISABLE_MQTT", "=", false]]
- variable: MQTT_PASSWORD
label: "Mqtt Password"
description: "Password of the broker."
schema:
type: string
private: true
show_if: [["DISABLE_MQTT", "=", false]]
# Include{serviceRoot}
- variable: main
label: "Main Service"