diff --git a/whoami/base/whoami-ingress.yaml b/whoami/base/whoami-ingress.yaml index 88526dd..dcbbbd1 100644 --- a/whoami/base/whoami-ingress.yaml +++ b/whoami/base/whoami-ingress.yaml @@ -1,41 +1,11 @@ -# apiVersion: networking.k8s.io/v1 -# kind: Ingress -# metadata: -# name: whoami-ingress -# spec: -# rules: -# - http: -# paths: -# - path: / -# pathType: Prefix -# backend: -# service: -# name: whoami-traefik -# port: -# name: web apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: name: whoami-ingressroute spec: routes: - - match: Host(`whoami.mziesel.nl`) || Path(`/`) + - match: Path(`/`) kind: Rule services: - name: whoami port: web - ---- -apiVersion: traefik.io/v1alpha1 -kind: IngressRoute -metadata: - name: whoami-ingressroutetls -spec: - entryPoints: - - websecure - routes: - - match: Host(`whoami.mziesel.nl`) - kind: Rule - services: - - name: whoami-traefik - port: web