traefik dashboard attempt 2

This commit is contained in:
Michael Thomson
2023-11-23 23:04:21 -05:00
parent 6a51d95e54
commit 5f2e7f1a7c

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: PathPrefix(`/dashboard`) || PathPrefix(`/api`) matchRule: Host(`server.michaelthomson.dev`)
# -- 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: ["traefik", "websecure"] entryPoints: ["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
# #