Revert "traefik dashboard attempt 2"

This reverts commit 5f2e7f1a7c.
This commit is contained in:
Michael Thomson
2023-11-23 23:08:44 -05:00
parent 5f2e7f1a7c
commit dc64963a34

View File

@@ -168,11 +168,11 @@ spec:
# -- Additional ingressRoute labels (e.g. for filtering IngressRoute by custom labels) # -- Additional ingressRoute labels (e.g. for filtering IngressRoute by custom labels)
labels: {} labels: {}
# -- The router match rule used for the dashboard ingressRoute # -- The router match rule used for the dashboard ingressRoute
matchRule: Host(`server.michaelthomson.dev`) matchRule: PathPrefix(`/dashboard`) || PathPrefix(`/api`)
# -- Specify the allowed entrypoints to use for the dashboard ingress route, (e.g. traefik, web, websecure). # -- Specify the allowed entrypoints to use for the dashboard ingress route, (e.g. traefik, web, websecure).
# By default, it's using traefik entrypoint, which is not exposed. # By default, it's using traefik entrypoint, which is not exposed.
# /!\ Do not expose your dashboard without any protection over the internet /!\ # /!\ Do not expose your dashboard without any protection over the internet /!\
entryPoints: ["websecure"] entryPoints: ["traefik", "websecure"]
# -- Additional ingressRoute middlewares (e.g. for authentication) # -- Additional ingressRoute middlewares (e.g. for authentication)
middlewares: [] middlewares: []
# -- TLS options (e.g. secret containing certificate) # -- TLS options (e.g. secret containing certificate)
@@ -666,8 +666,8 @@ spec:
# Port Redirections # Port Redirections
# Added in 2.2, you can make permanent redirects via entrypoints. # Added in 2.2, you can make permanent redirects via entrypoints.
# https://docs.traefik.io/routing/entrypoints/#redirection # https://docs.traefik.io/routing/entrypoints/#redirection
redirectTo: # redirectTo:
port: websecure # port: websecure
# (Optional) # (Optional)
# priority: 10 # priority: 10
# #