Switched whoami from Ingress to IngressRoute
This commit is contained in:
parent
be41e580d0
commit
fa00d97a10
|
@ -38,20 +38,21 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
app: whoami
|
app: whoami
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Ingress
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: whoami-ingress
|
name: whoami-dashboard
|
||||||
namespace: default
|
namespace: default
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: traefik-external
|
||||||
spec:
|
spec:
|
||||||
rules:
|
entryPoints:
|
||||||
- host: whoami.huizinga.home
|
- websecure
|
||||||
http:
|
routes:
|
||||||
paths:
|
- match: Host(`whoami.huizinga.home`)
|
||||||
- path: /
|
kind: Rule
|
||||||
pathType: Prefix
|
middlewares:
|
||||||
backend:
|
- name: default-headers
|
||||||
service:
|
services:
|
||||||
name: whoami
|
- name: whoami
|
||||||
port:
|
port: 80
|
||||||
name: web
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user