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