2024-10-12 18:05:18 +00:00
|
|
|
# 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
|
2024-09-22 09:52:27 +00:00
|
|
|
metadata:
|
2024-10-12 18:05:18 +00:00
|
|
|
name: whoami-ingressroute
|
2024-09-22 09:52:27 +00:00
|
|
|
spec:
|
2024-10-12 18:05:18 +00:00
|
|
|
entryPoints:
|
|
|
|
- web
|
|
|
|
routes:
|
|
|
|
- match: Host(`whoami.mziesel.nl`)
|
|
|
|
kind: Rule
|
|
|
|
services:
|
2024-10-12 18:26:13 +00:00
|
|
|
- name: whoami-traefik
|
|
|
|
port: web
|
2024-10-12 18:05:18 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: traefik.io/v1alpha1
|
|
|
|
kind: IngressRoute
|
|
|
|
metadata:
|
|
|
|
name: whoami-ingressroutetls
|
|
|
|
spec:
|
|
|
|
entryPoints:
|
|
|
|
- websecure
|
|
|
|
routes:
|
|
|
|
- match: Host(`whoami.mziesel.nl`)
|
|
|
|
kind: Rule
|
|
|
|
services:
|
2024-10-12 18:26:13 +00:00
|
|
|
- name: whoami-traefik
|
|
|
|
port: web
|