feat(treafik): Adds theme.park middleware and remove Traefik pilot (#3245)

* chore(traefik): add deprecation pilot notice

* feat(treafik): Adds theme.park middleware and deprecation notice on pilot

* Update charts/stable/traefik/templates/middlewares/theme-park.yaml

* just remove pilot

* Apply suggestions from code review

Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Stavros Kois
2022-07-21 15:32:49 +02:00
committed by GitHub
co-authored by Kjeld Schouten-Lebbing
parent c0987a50b8
commit 721ec70d30
5 changed files with 80 additions and 31 deletions
+39 -25
View File
@@ -78,31 +78,6 @@ questions:
# Include{containerConfig}
- variable: pilot
label: "Traefik Pilot"
group: "App Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: enabled
label: "Enable"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: token
label: "token"
schema:
type: string
default: ""
- variable: dashboard
label: "Pilot Dashboard"
schema:
type: boolean
default: false
- variable: ingressClass
label: "ingressClass"
group: "App Configuration"
@@ -453,6 +428,7 @@ questions:
type: int
required: true
default: 200
- variable: redirectRegex
label: "redirectRegex"
schema:
@@ -487,6 +463,7 @@ questions:
schema:
type: boolean
default: false
- variable: stripPrefixRegex
label: "stripPrefixRegex"
schema:
@@ -570,6 +547,43 @@ questions:
type: string
required: true
default: ""
- variable: themePark
label: "theme.park"
description: "Currently requires to enable Traefik Pilot. Until it's deprecated."
schema:
type: list
default: []
items:
- variable: themeParkEntry
label: ""
schema:
additional_attrs: true
type: dict
attrs:
- variable: name
label: "Name"
schema:
type: string
required: true
- variable: app
label: "Application Name"
description: "Lower case, supported list https://docs.theme-park.dev/themes."
schema:
type: string
required: true
default: ""
- variable: theme
label: "Theme Name"
description: "Lower case, supported lists https://docs.theme-park.dev/theme-options and https://docs.theme-park.dev/community-themes"
schema:
type: string
default: ""
- variable: baseUrl
label: "Base URL for theme"
description: "https://theme-park.dev or a self hosted url"
schema:
type: string
default: "https://theme-park.dev"
- variable: service
group: "Networking and Services"