feat(traefik) update theme.park plugin to support addons (#3521)

* Add support for theme-park addons in middleware

* update themepark plugin version

* update addon description

* Add some line breaks

* Bump chart version
This commit is contained in:
Ethan Leisinger 2022-08-21 04:42:25 -04:00 committed by GitHub
parent c9b5dd0c94
commit 2d70a94a01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 4 deletions

View File

@ -23,7 +23,7 @@ sources:
- https://github.com/traefik/traefik-helm-chart
- https://traefik.io/
type: application
version: 13.1.10
version: 13.2.0
annotations:
truecharts.org/catagories: |
- network

View File

@ -503,14 +503,14 @@ questions:
- variable: appName
label: App Name
description: Lower case, name of the app to be themed.
Go to <a href="https://docs.theme-park.dev/themes/">https://docs.theme-park.dev/themes/</a> to see supported apps.
<br />Go to <a href="https://docs.theme-park.dev/themes/">https://docs.theme-park.dev/themes/</a> to see supported apps.
schema:
type: string
required: true
- variable: themeName
label: Theme Name
description: Lower case, name of the theme to be applied.
Go to <a href="https://docs.theme-park.dev/theme-options/">https://docs.theme-park.dev/theme-options/</a> to see supported themes.
<br />Go to <a href="https://docs.theme-park.dev/theme-options/">https://docs.theme-park.dev/theme-options/</a> to see supported themes.
schema:
type: string
required: true
@ -521,6 +521,21 @@ questions:
type: string
required: true
default: https://theme-park.dev
- variable: addons
label: Addons
schema:
type: list
default: []
items:
- variable: addonEntry
label: "Addon"
description: Currently only supports 'darker' and '4k-logo' for *arr apps.
<br />Go to <a href="https://docs.theme-park.dev/themes/addons/">https://docs.theme-park.dev/themes/addons/</a> for Addon information.
<br />Go to <a href="https://github.com/packruler/traefik-themepark">https://github.com/packruler/traefik-themepark</a> for more context on plugin
schema:
type: string
required: true
default: ""
- variable: service
group: "Networking and Services"
label: "Configure Service Entrypoint"

View File

@ -17,4 +17,10 @@ spec:
app: {{ $middlewareData.appName }}
theme: {{ $middlewareData.themeName }}
baseUrl: {{ $middlewareData.baseUrl }}
{{- if $middlewareData.addons }}
addons:
{{- range $middlewareData.addons }}
- {{ . | quote }}
{{- end }}
{{- end }}
{{- end }}

View File

@ -352,7 +352,7 @@ middlewares:
# theme: themenamehere
# -- https://theme-park.dev or a self hosted url
# baseUrl: https://theme-park.dev
themeParkVersion: v1.1.0
themeParkVersion: v1.2.0
portalhook:
enabled: true