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:
@@ -23,7 +23,7 @@ sources:
|
|||||||
- https://github.com/traefik/traefik-helm-chart
|
- https://github.com/traefik/traefik-helm-chart
|
||||||
- https://traefik.io/
|
- https://traefik.io/
|
||||||
type: application
|
type: application
|
||||||
version: 13.1.10
|
version: 13.2.0
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- network
|
- network
|
||||||
|
|||||||
@@ -503,14 +503,14 @@ questions:
|
|||||||
- variable: appName
|
- variable: appName
|
||||||
label: App Name
|
label: App Name
|
||||||
description: Lower case, name of the app to be themed.
|
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:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
- variable: themeName
|
- variable: themeName
|
||||||
label: Theme Name
|
label: Theme Name
|
||||||
description: Lower case, name of the theme to be applied.
|
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:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
@@ -521,6 +521,21 @@ questions:
|
|||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
default: https://theme-park.dev
|
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
|
- variable: service
|
||||||
group: "Networking and Services"
|
group: "Networking and Services"
|
||||||
label: "Configure Service Entrypoint"
|
label: "Configure Service Entrypoint"
|
||||||
|
|||||||
@@ -17,4 +17,10 @@ spec:
|
|||||||
app: {{ $middlewareData.appName }}
|
app: {{ $middlewareData.appName }}
|
||||||
theme: {{ $middlewareData.themeName }}
|
theme: {{ $middlewareData.themeName }}
|
||||||
baseUrl: {{ $middlewareData.baseUrl }}
|
baseUrl: {{ $middlewareData.baseUrl }}
|
||||||
|
{{- if $middlewareData.addons }}
|
||||||
|
addons:
|
||||||
|
{{- range $middlewareData.addons }}
|
||||||
|
- {{ . | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -352,7 +352,7 @@ middlewares:
|
|||||||
# theme: themenamehere
|
# theme: themenamehere
|
||||||
# -- https://theme-park.dev or a self hosted url
|
# -- https://theme-park.dev or a self hosted url
|
||||||
# baseUrl: https://theme-park.dev
|
# baseUrl: https://theme-park.dev
|
||||||
themeParkVersion: v1.1.0
|
themeParkVersion: v1.2.0
|
||||||
|
|
||||||
portalhook:
|
portalhook:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user