diff --git a/traefik/base/002-traefik.yaml b/traefik/base/002-traefik.yaml index 02acaac..9918fd4 100644 --- a/traefik/base/002-traefik.yaml +++ b/traefik/base/002-traefik.yaml @@ -23,8 +23,10 @@ spec: - --api.insecure - --providers.kubernetesingress - --entryPoints.web.Address=:80 + - --entryPoints.web.asDefault=true - --entryPoints.web.proxyProtocol.trustedIPs=127.0.0.1/32,192.168.10.1 - --entryPoints.websecure.Address=:443 + - --entryPoints.websecure.asDefault=true - --entryPoints.websecure.proxyProtocol.trustedIPs=127.0.0.1/32,192.168.10.1 - --entryPoints.traefik.Address=:8080 - --providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik-service diff --git a/whoami/base/whoami-ingress.yaml b/whoami/base/whoami-ingress.yaml index cb9dea0..88526dd 100644 --- a/whoami/base/whoami-ingress.yaml +++ b/whoami/base/whoami-ingress.yaml @@ -18,13 +18,11 @@ kind: IngressRoute metadata: name: whoami-ingressroute spec: - entryPoints: - - web routes: - - match: Host(`whoami.mziesel.nl`) + - match: Host(`whoami.mziesel.nl`) || Path(`/`) kind: Rule services: - - name: whoami-traefik + - name: whoami port: web ---