traefik: upgrade to 3.1, migrate dashboard via ingressroute

This commit is contained in:
2024-07-27 00:06:07 +03:00
parent 3e52f37cde
commit 047cbb5c6b
6 changed files with 33 additions and 54 deletions

View File

@@ -1,6 +1,6 @@
image:
registry: mirror.gcr.io/library
tag: "2.10.4@sha256:bbdacc7c3bec50bd2a4430e8a967df44376419634b733185a80ed79388134bdb"
tag: "3.1.0"
pullPolicy: IfNotPresent
websecure:
@@ -34,15 +34,19 @@ globalArguments:
- --entryPoints.web.http.redirections.entryPoint.scheme=https
service:
annotations:
external-dns.alpha.kubernetes.io/hostname: traefik.k-space.ee
spec:
# Keep sync with ingress.yml
loadBalancerIP: 193.40.103.36
externalTrafficPolicy: Local
ingressRoute:
dashboard:
enabled: true
domain: traefik.k-space.ee
matchRule: Host(`traefik.k-space.ee`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))
entryPoints: ["websecure"]
#middlewares:
# - name: "sso"
tlsOptions:
default: