From 77b9bee72e7d6def2358c5391d0cf68f565a3d43 Mon Sep 17 00:00:00 2001 From: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Date: Mon, 3 Jul 2023 15:54:55 -0400 Subject: [PATCH] migrate(wizarr) migrate wizarr to new common and push to stable (#9984) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Migrate to new common and move to stable ⚒️ Fixes # **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [X] ⚠️ 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?** **📃 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 - [ ] ⚠️ 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._ --- charts/incubator/wizarr/questions.yaml | 120 ------------------ charts/incubator/wizarr/templates/common.yaml | 1 - charts/incubator/wizarr/values.yaml | 25 ---- .../{incubator => stable}/wizarr/.helmignore | 0 .../{incubator => stable}/wizarr/CHANGELOG.md | 0 .../{incubator => stable}/wizarr/Chart.yaml | 10 +- charts/{incubator => stable}/wizarr/README.md | 0 charts/{incubator => stable}/wizarr/icon.png | Bin charts/stable/wizarr/questions.yaml | 113 +++++++++++++++++ charts/stable/wizarr/templates/NOTES.txt | 1 + charts/stable/wizarr/templates/common.yaml | 1 + charts/stable/wizarr/values.yaml | 41 ++++++ 12 files changed, 161 insertions(+), 151 deletions(-) delete mode 100644 charts/incubator/wizarr/questions.yaml delete mode 100644 charts/incubator/wizarr/templates/common.yaml delete mode 100644 charts/incubator/wizarr/values.yaml rename charts/{incubator => stable}/wizarr/.helmignore (100%) rename charts/{incubator => stable}/wizarr/CHANGELOG.md (100%) rename charts/{incubator => stable}/wizarr/Chart.yaml (78%) rename charts/{incubator => stable}/wizarr/README.md (100%) rename charts/{incubator => stable}/wizarr/icon.png (100%) create mode 100644 charts/stable/wizarr/questions.yaml create mode 100644 charts/stable/wizarr/templates/NOTES.txt create mode 100644 charts/stable/wizarr/templates/common.yaml create mode 100644 charts/stable/wizarr/values.yaml diff --git a/charts/incubator/wizarr/questions.yaml b/charts/incubator/wizarr/questions.yaml deleted file mode 100644 index a1d6208bf08..00000000000 --- a/charts/incubator/wizarr/questions.yaml +++ /dev/null @@ -1,120 +0,0 @@ -# Include{groups} -portals: - open: -# Include{portalLink} -questions: -# Include{global} -# Include{workload} -# Include{workloadDeployment} - -# Include{replicas1} -# Include{podSpec} -# Include{containerMain} -# Include{containerBasic} -# Include{containerAdvanced} - -# Include{containerConfig} - - variable: env - group: App Configuration - label: Image Environment - schema: - additional_attrs: true - type: dict - attrs: - - variable: APP_URL - label: App URL - description: set this url as either http://ip:port or https://app.domain.tld if using ingress/reverse proxy. - schema: - type: string - default: "" - - variable: DISABLE_BUILTIN_AUTH - label: Disable Builtin Auth - description: Check this if using an external auth provider, otherwise leave it false. - schema: - type: boolean - default: false - - variable: ALLOW_BUG_REPORTING - label: Allow Bug Reporting - description: Helps upstream developers fix bugs proactively, recommended leave it enabled, but can be optionally disabled. - schema: - type: boolean - default: true -# Include{serviceRoot} - - variable: main - label: Main Service - description: The Primary service on which the healthcheck runs, often the webUI - schema: - additional_attrs: true - type: dict - attrs: -# 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: 10596 - required: true -# Include{serviceExpertRoot} -# Include{serviceExpert} -# Include{serviceList} -# Include{persistenceRoot} - - variable: database - label: App Database Storage - description: Stores the Application Database. - 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 this App 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/wizarr/templates/common.yaml b/charts/incubator/wizarr/templates/common.yaml deleted file mode 100644 index c1a366e1cf0..00000000000 --- a/charts/incubator/wizarr/templates/common.yaml +++ /dev/null @@ -1 +0,0 @@ -{{ include "tc.common.loader.all" . }} diff --git a/charts/incubator/wizarr/values.yaml b/charts/incubator/wizarr/values.yaml deleted file mode 100644 index fe52ba66d68..00000000000 --- a/charts/incubator/wizarr/values.yaml +++ /dev/null @@ -1,25 +0,0 @@ -image: - repository: tccr.io/truecharts/wizarr - pullPolicy: IfNotPresent - tag: 2.0.3@sha256:d3cf734570c7bc6769e9798ca1319b10e4f29b5933984fdcde6ea6ba4df03eb9 - -env: - APP_URL: "http://localhost:{{ .Values.service.main.ports.main.port }}" - DISABLE_BUILTIN_AUTH: false - ALLOW_BUG_REPORTING: false - -service: - main: - ports: - main: - protocol: HTTP - targetPort: 5690 - port: 10596 - -persistence: - database: - enabled: true - mountPath: /data/database - -portal: - enabled: true diff --git a/charts/incubator/wizarr/.helmignore b/charts/stable/wizarr/.helmignore similarity index 100% rename from charts/incubator/wizarr/.helmignore rename to charts/stable/wizarr/.helmignore diff --git a/charts/incubator/wizarr/CHANGELOG.md b/charts/stable/wizarr/CHANGELOG.md similarity index 100% rename from charts/incubator/wizarr/CHANGELOG.md rename to charts/stable/wizarr/CHANGELOG.md diff --git a/charts/incubator/wizarr/Chart.yaml b/charts/stable/wizarr/Chart.yaml similarity index 78% rename from charts/incubator/wizarr/Chart.yaml rename to charts/stable/wizarr/Chart.yaml index 8c59a8a2fae..975cb203a54 100644 --- a/charts/incubator/wizarr/Chart.yaml +++ b/charts/stable/wizarr/Chart.yaml @@ -1,12 +1,12 @@ apiVersion: v2 -appVersion: "2.0.3" +appVersion: "2.2.0" dependencies: - name: common repository: https://library-charts.truecharts.org - version: 11.1.2 + version: 12.14.2 deprecated: false description: A automatic user invitation system for Plex. -home: https://truecharts.org/charts/incubator/wizarr +home: https://truecharts.org/charts/stable/wizarr icon: https://truecharts.org/img/hotlink-ok/chart-icons/wizarr.png keywords: - wizarr @@ -20,10 +20,10 @@ maintainers: url: https://truecharts.org name: wizarr sources: - - https://github.com/truecharts/charts/tree/master/charts/incubator/wizarr + - https://github.com/truecharts/charts/tree/master/charts/stable/wizarr - https://github.com/Wizarrrr/wizarr type: application -version: 1.0.8 +version: 2.0.0 annotations: truecharts.org/catagories: | - HomeAutomation diff --git a/charts/incubator/wizarr/README.md b/charts/stable/wizarr/README.md similarity index 100% rename from charts/incubator/wizarr/README.md rename to charts/stable/wizarr/README.md diff --git a/charts/incubator/wizarr/icon.png b/charts/stable/wizarr/icon.png similarity index 100% rename from charts/incubator/wizarr/icon.png rename to charts/stable/wizarr/icon.png diff --git a/charts/stable/wizarr/questions.yaml b/charts/stable/wizarr/questions.yaml new file mode 100644 index 00000000000..8446505521f --- /dev/null +++ b/charts/stable/wizarr/questions.yaml @@ -0,0 +1,113 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{workload} +# Include{workloadDeployment} +# Include{replicas1} +# Include{podSpec} +# Include{containerMain} + + - variable: env + label: Image Environment + schema: + additional_attrs: true + type: dict + attrs: + - variable: APP_URL + label: App URL + description: URL at which you will access and share. + schema: + type: string + required: true + default: "" + - variable: DISABLE_BUILTIN_AUTH + label: Disable Builtin Auth + description: Enable this if using an external auth provider + schema: + type: boolean + default: false + - variable: ALLOW_BUG_REPORTING + label: Allow Bug Reporting + description: Helps upstream developers fix bugs proactively, recommended leave it enabled, but can be optionally disabled. + schema: + type: boolean + default: false + +# Include{containerBasic} +# Include{containerAdvanced} +# Include{containerConfig} +# Include{podOptions} +# 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: 10596 + required: true +# Include{serviceExpertRoot} +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: database + label: App Database Storage + description: Stores the Application Database. + 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 this App 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/stable/wizarr/templates/NOTES.txt b/charts/stable/wizarr/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/stable/wizarr/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/stable/wizarr/templates/common.yaml b/charts/stable/wizarr/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/stable/wizarr/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/stable/wizarr/values.yaml b/charts/stable/wizarr/values.yaml new file mode 100644 index 00000000000..2dc6a2c311e --- /dev/null +++ b/charts/stable/wizarr/values.yaml @@ -0,0 +1,41 @@ +image: + repository: tccr.io/truecharts/wizarr + pullPolicy: IfNotPresent + tag: v2.2.0@sha256:bce9ad58272458e3453c4752b5014f49e7acf83695488446f2589a7a00e11a59 + +service: + main: + ports: + main: + protocol: http + targetPort: 5690 + port: 10596 + +workload: + main: + podSpec: + containers: + main: + probes: + liveness: + path: "/" + type: http + readiness: + path: "/" + type: http + startup: + path: "/" + type: http + env: + APP_URL: "http://localhost:{{ .Values.service.main.ports.main.port }}" + DISABLE_BUILTIN_AUTH: false + ALLOW_BUG_REPORTING: false + +persistence: + database: + enabled: true + mountPath: /data/database + +portal: + open: + enabled: true