TrueChartsClone/charts/stable/wyoming-piper/templates/common.yaml

9 lines
320 B
YAML
Raw Normal View History

feat(wyoming-piper) add custom voice option (#15585) **Description** Add custom voice option and moved args to a tpl, to support the custom voice option. ⚒️ Fixes #15570 **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [X] 🔃 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:** Add the custom option in the main voice list; if custom is selected then the custom voice option should be visible for the end user to add a custom voice name to. If a value is set to custom_voice and then it will be used instead of an item from the voice list. **✔️ 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 - [ ] ⚠️ 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 **➕ 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._ --------- Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Signed-off-by: zierbeek <58994651+zierbeek@users.noreply.github.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Co-authored-by: ZasX <ZasX@users.noreply.github.com> Co-authored-by: kqmaverick <121722567+kqmaverick@users.noreply.github.com> Co-authored-by: zierbeek <58994651+zierbeek@users.noreply.github.com>
2023-12-02 08:20:00 -05:00
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{- $newArgs := (include "wyoming-piper.args" . | fromYaml) }}
{{- $_ := set .Values.workload.main.podSpec.containers.main "args" $newArgs.args -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}