From 07931472fde1fd920f9454ccbc7904076adcfa76 Mon Sep 17 00:00:00 2001 From: Alec Fenichel Date: Wed, 19 Jul 2023 09:26:23 -0400 Subject: [PATCH] feat(wyoming-piper) Add wyoming-piper (#10405) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ Fixes # Add [wyoming-piper](https://github.com/home-assistant/addons/blob/master/piper/DOCS.md) (TTS) for Home Assistant. **⚙️ Type of change** - [x] ⚙️ 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?** **📃 Notes:** **✔️ 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 - [ ] ⬆️ 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. - [x] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [x] 🖼️ I have added an icon in the Chart's root directory called `icon.png` https://github.com/truecharts/containers/pull/25844 --- _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: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Signed-off-by: Alec Fenichel Co-authored-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> --- charts/incubator/wyoming-piper/.helmignore | 30 +++ charts/incubator/wyoming-piper/CHANGELOG.md | 1 + charts/incubator/wyoming-piper/Chart.yaml | 27 +++ charts/incubator/wyoming-piper/README.md | 27 +++ charts/incubator/wyoming-piper/icon.png | Bin 0 -> 2293 bytes charts/incubator/wyoming-piper/questions.yaml | 202 ++++++++++++++++++ .../wyoming-piper/templates/NOTES.txt | 1 + .../wyoming-piper/templates/common.yaml | 1 + charts/incubator/wyoming-piper/values.yaml | 43 ++++ 9 files changed, 332 insertions(+) create mode 100644 charts/incubator/wyoming-piper/.helmignore create mode 100644 charts/incubator/wyoming-piper/CHANGELOG.md create mode 100644 charts/incubator/wyoming-piper/Chart.yaml create mode 100644 charts/incubator/wyoming-piper/README.md create mode 100644 charts/incubator/wyoming-piper/icon.png create mode 100644 charts/incubator/wyoming-piper/questions.yaml create mode 100644 charts/incubator/wyoming-piper/templates/NOTES.txt create mode 100644 charts/incubator/wyoming-piper/templates/common.yaml create mode 100644 charts/incubator/wyoming-piper/values.yaml diff --git a/charts/incubator/wyoming-piper/.helmignore b/charts/incubator/wyoming-piper/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/wyoming-piper/.helmignore @@ -0,0 +1,30 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ +# OWNERS file for Kubernetes +OWNERS +# helm-docs templates +*.gotmpl +# docs folder +/docs +# icon +icon.png diff --git a/charts/incubator/wyoming-piper/CHANGELOG.md b/charts/incubator/wyoming-piper/CHANGELOG.md new file mode 100644 index 00000000000..825c32f0d03 --- /dev/null +++ b/charts/incubator/wyoming-piper/CHANGELOG.md @@ -0,0 +1 @@ +# Changelog diff --git a/charts/incubator/wyoming-piper/Chart.yaml b/charts/incubator/wyoming-piper/Chart.yaml new file mode 100644 index 00000000000..87325658017 --- /dev/null +++ b/charts/incubator/wyoming-piper/Chart.yaml @@ -0,0 +1,27 @@ +apiVersion: v2 +appVersion: "0.0.2" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 12.14.6 +deprecated: false +description: The Wyoming integration of piper +home: https://truecharts.org/charts/incubator/wyoming-piper +icon: https://truecharts.org/img/hotlink-ok/chart-icons/wyoming-piper.png +keywords: + - wyoming-piper +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: wyoming-piper +sources: + - https://github.com/truecharts/charts/tree/master/charts/incubator/wyoming-piper + - https://github.com/home-assistant/addons/tree/master/piper +type: application +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - home-automation + truecharts.org/SCALE-support: "true" diff --git a/charts/incubator/wyoming-piper/README.md b/charts/incubator/wyoming-piper/README.md new file mode 100644 index 00000000000..e0a9b8fa8d7 --- /dev/null +++ b/charts/incubator/wyoming-piper/README.md @@ -0,0 +1,27 @@ +# README + +## General Info + +TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE. +However only installations using the TrueNAS SCALE Apps system are supported. + +For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/stable/) + +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)** + + +## Support + +- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE/guides/scale-intro). +- See the [Website](https://truecharts.org) +- Check our [Discord](https://discord.gg/tVsPTHWTtr) +- Open a [issue](https://github.com/truecharts/charts/issues/new/choose) + +--- + +## Sponsor TrueCharts + +TrueCharts can only exist due to the incredible effort of our staff. +Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can! + +*All Rights Reserved - The TrueCharts Project* diff --git a/charts/incubator/wyoming-piper/icon.png b/charts/incubator/wyoming-piper/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..098ce412a9037384322607e80901ecf612c822d2 GIT binary patch literal 2293 zcmV@f000gS4tIBV`1ttM)zt_H2y$|AYHDiw`ua{zPUPg|fq{V;85!~M z@gpN60s;c6s;cJZ<_`}KO-)V1!^8ai{E(24M@L6YOiZ1foqBqD(b3UUQ&Vee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C<1r0hfpiSVGl@?G>+EE`pbU-I=D~|aNLg+XgC=>*QLcnGv{yRZH zXmBHx=mdyoAg2@xbW*rj=55;7oZ{L`JUw*AC(zk*zI!@e=Xc>M7BZ{1f#;82*lYJv zbkS$e@Cbi=Ds6&G{qP&<&0c^G`06Pe(bbG zeAQadXW9MTHC$7LMY2O-M7*Y%O6@z2cMa4pxh#Cyf6OLXBf=zWEBBVtD_3!qB6fSI zxt3Wq&MaE@6Vn7_PN73AmG_CT?UmCBu!Wb*zHSLgCY z1-BsGYD>&poNIRzV*R2uKC(9@zSO9M~-T0r@_Z^ZBOyrM5)VEp7|ASdra*@Zs`39H`v=EW(NuwlTn- z`HGesRq-MUdyqzeKvAOQE)PUkaH1bTJl8O{nF^w6oah*c=toTJ3ZfdE2xb#yzjl!w zx4zM6l!%i3;?eoZFcIz+7iJID3sEiREohxlq8m8TA)`c5IML5WiI~SbWdrjBx^_`* z4^H%pL84!AAoQCtqTjL0NmiI`FRh|eg1NXP0U#i)B1;?=1T^$(6kTVY#>WNbYotYF z?}}5p{~iE(>IElS)FRAu@{Zm=a04uxRu~Xgq&XS0TNF1H}nq$eH6v~1O5XbpF|m{ zI{f~}2hmj<;G&xEqKsSjyxH;BOLQ*(ILuy=@1p*We;ZCrini;CiNd19x!bjTU$8Du z{Q=x%n<7(WicFCyGDW7y6qzDZWQt6YDKbT-$P}3(-7-2QAHaUn literal 0 HcmV?d00001 diff --git a/charts/incubator/wyoming-piper/questions.yaml b/charts/incubator/wyoming-piper/questions.yaml new file mode 100644 index 00000000000..76ed2835a4b --- /dev/null +++ b/charts/incubator/wyoming-piper/questions.yaml @@ -0,0 +1,202 @@ +# Include{groups} +portals: {} +questions: +# Include{global} +# Include{workload} +# Include{workloadDeployment} + +# Include{replicas1} +# Include{podSpec} +# Include{containerMain} +# Include{containerBasic} +# Include{containerAdvanced} + - variable: wyoming_piper + group: App Configuration + label: Piper Configuration + schema: + additional_attrs: true + type: dict + attrs: + - variable: voice + label: Voice + description: Piper voice that will be used for speach. + schema: + type: string + required: true + default: en-us-lessac-low + enum: + - value: ca-upc_ona-x-low8 + description: ca-upc_ona-x-low + - value: ca-upc_pau-x-low8 + description: ca-upc_pau-x-low + - value: da-nst_talesyntese-medium8 + description: da-nst_talesyntese-medium + - value: de-eva_k-x-low8 + description: de-eva_k-x-low + - value: de-thorsten-low8 + description: de-thorsten-low + - value: de-karlsson-low8 + description: de-karlsson-low + - value: de-kerstin-low8 + description: de-kerstin-low + - value: de-pavoque-low8 + description: de-pavoque-low + - value: de-ramona-low8 + description: de-ramona-low + - value: en-gb-alan-low8 + description: en-gb-alan-low + - value: en-gb-southern_english_female-low8 + description: en-gb-southern_english_female-low + - value: en-us-amy-low8 + description: en-us-amy-low + - value: en-us-kathleen-low8 + description: en-us-kathleen-low + - value: en-us-lessac-low8 + description: en-us-lessac-low + - value: en-us-lessac-medium8 + description: en-us-lessac-medium + - value: en-us-libritts-high8 + description: en-us-libritts-high + - value: en-us-ryan-high8 + description: en-us-ryan-high + - value: en-us-ryan-low8 + description: en-us-ryan-low + - value: en-us-ryan-medium8 + description: en-us-ryan-medium + - value: es-carlfm-x-low8 + description: es-carlfm-x-low + - value: es-mls_10246-low8 + description: es-mls_10246-low + - value: es-mls_9972-low8 + description: es-mls_9972-low + - value: fi-harri-low8 + description: fi-harri-low + - value: fr-siwis-low8 + description: fr-siwis-low + - value: fr-siwis-medium8 + description: fr-siwis-medium + - value: fr-gilles-low8 + description: fr-gilles-low + - value: fr-mls_1840-low8 + description: fr-mls_1840-low + - value: is-bui-medium8 + description: is-bui-medium + - value: is-salka-medium8 + description: is-salka-medium + - value: is-steinn-medium8 + description: is-steinn-medium + - value: is-ugla-medium8 + description: is-ugla-medium + - value: it-riccardo_fasol-x-low8 + description: it-riccardo_fasol-x-low + - value: kk-iseke-x-low8 + description: kk-iseke-x-low + - value: kk-issai-high8 + description: kk-issai-high + - value: kk-raya-x-low8 + description: kk-raya-x-low + - value: ne-google-medium8 + description: ne-google-medium + - value: ne-google-x-low8 + description: ne-google-x-low + - value: nl-mls_7432-low8 + description: nl-mls_7432-low + - value: nl-nathalie-x-low8 + description: nl-nathalie-x-low + - value: nl-rdh-medium8 + description: nl-rdh-medium + - value: nl-rdh-x-low8 + description: nl-rdh-x-low + - value: nl-mls_5809-low8 + description: nl-mls_5809-low + - value: no-talesyntese-medium8 + description: no-talesyntese-medium + - value: pl-mls_6892-low8 + description: pl-mls_6892-low + - value: pt-br-edresson-low8 + description: pt-br-edresson-low + - value: ru-irinia-medium8 + description: ru-irinia-medium + - value: uk-lada-x-low8 + description: uk-lada-x-low + - value: vi-25hours-single-low8 + description: vi-25hours-single-low + - value: vi-vivos-x-low8 + description: vi-vivos-x-low + - value: zh-cn-huayan-x-low + description: zh-cn-huayan-x-low + +# Include{containerConfig} +# Include{serviceRoot} +# Include{serviceMain} +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: main + label: "Main Service Port Configuration" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: "Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 10200 + required: true +# Include{serviceExpertRoot} +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: config + label: "App Config Storage" + description: "Stores the Application Configuration." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} +# Include{persistenceList} +# Include{ingressRoot} + - variable: main + label: "Main Ingress" + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressTLS} +# Include{ingressTraefik} +# Include{ingressAdvanced} +# Include{ingressList} +# Include{securityContextRoot} + + - variable: runAsUser + label: "runAsUser" + description: "The UserID of the user running the application" + schema: + type: int + default: 568 + - variable: runAsGroup + label: "runAsGroup" + description: "The groupID of the user running the application" + schema: + type: int + default: 568 +# Include{securityContextContainer} +# Include{securityContextAdvanced} +# Include{securityContextPod} + - variable: fsGroup + label: "fsGroup" + description: "The group that should own ALL storage." + schema: + type: int + default: 568 + +# Include{resources} +# Include{advanced} +# Include{addons} +# Include{codeserver} +# Include{netshoot} +# Include{vpn} +# Include{documentation} diff --git a/charts/incubator/wyoming-piper/templates/NOTES.txt b/charts/incubator/wyoming-piper/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/wyoming-piper/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/wyoming-piper/templates/common.yaml b/charts/incubator/wyoming-piper/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/wyoming-piper/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/wyoming-piper/values.yaml b/charts/incubator/wyoming-piper/values.yaml new file mode 100644 index 00000000000..b98c75e2b86 --- /dev/null +++ b/charts/incubator/wyoming-piper/values.yaml @@ -0,0 +1,43 @@ +image: + repository: tccr.io/truecharts/wyoming-piper + pullPolicy: IfNotPresent + tag: v0.0.2@sha256:f005182e6f3d661f59319c738569e399e519ac1ee92a603a696ca36806f049e7 + +wyoming_piper: + voice: en-us-lessac-low + +workload: + main: + podSpec: + containers: + main: + probes: + liveness: + port: 10200 + scheme: tcp + readiness: + port: 10200 + scheme: tcp + startup: + port: 10200 + scheme: tcp + args: + - --voice + - "{{ .Values.wyoming_piper.voice }}" + +service: + main: + ports: + main: + port: 10200 + protocol: tcp + targetPort: 10200 + +persistence: + config: + enabled: true + mountPath: /data + +portal: + open: + enabled: false