diff --git a/infrastructure/03-traefik/overlay-external/patches/traefik-service-patch.yaml b/infrastructure/03-traefik/overlay-external/patches/traefik-service-patch.yaml index 71e4637..45456bf 100644 --- a/infrastructure/03-traefik/overlay-external/patches/traefik-service-patch.yaml +++ b/infrastructure/03-traefik/overlay-external/patches/traefik-service-patch.yaml @@ -7,6 +7,10 @@ spec: type: NodePort ports: + - name: traefik + port: 9000 + protocol: TCP + targetPort: traefik - name: web port: 80 protocol: TCP diff --git a/infrastructure/03-traefik/overlay-internal/traefik-ingress-dashboard-local.yaml b/infrastructure/03-traefik/overlay-internal/traefik-ingress-dashboard-local.yaml index 8b17087..a2a496b 100644 --- a/infrastructure/03-traefik/overlay-internal/traefik-ingress-dashboard-local.yaml +++ b/infrastructure/03-traefik/overlay-internal/traefik-ingress-dashboard-local.yaml @@ -3,7 +3,7 @@ kind: IngressRoute metadata: labels: local: "true" - name: traefik-dashboard + name: traefik-dashboard-local namespace: traefik spec: entryPoints: @@ -11,7 +11,25 @@ spec: - web routes: - kind: Rule - match: Host(`tr.steffenillium.de`) + match: Host(`tr-local.steffenillium.de`) services: - kind: TraefikService name: api@internal +--- +apiVersion: traefik.io/v1alpha1 +kind: IngressRoute +metadata: + labels: + local: "true" + name: traefik-dashboard-front + namespace: traefik +spec: + entryPoints: + - websecure + - web + routes: + - kind: Rule + match: Host(`tr-front.steffenillium.de`) + services: + - name: front-traefik + port: 9000