migrate(wizarr) migrate wizarr to new common and push to stable (#9984)

**Description**
Migrate to new common and move to stable
⚒️ Fixes  # <!--(issue)-->

**⚙️ 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?**
<!--
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
- [ ] ⚠️ 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._
This commit is contained in:
Xstar97TheNoob
2023-07-03 15:54:55 -04:00
committed by GitHub
parent 02fb9d683b
commit 77b9bee72e
12 changed files with 161 additions and 151 deletions
-120
View File
@@ -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}
@@ -1 +0,0 @@
{{ include "tc.common.loader.all" . }}
-25
View File
@@ -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
@@ -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

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

+113
View File
@@ -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}
+1
View File
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
@@ -0,0 +1 @@
{{ include "tc.v1.common.loader.all" . }}
+41
View File
@@ -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