43 lines
956 B
YAML
43 lines
956 B
YAML
---
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: traefik-dashboard
|
|
namespace: kube-system
|
|
spec:
|
|
entryPoints:
|
|
- web
|
|
- websecure
|
|
routes:
|
|
- match: Host(`traefik.kjuulh.app`) # Hostname to match
|
|
kind: Rule
|
|
services: # Service to redirect requests to
|
|
- name: api@internal # Special service created by Traefik pod
|
|
kind: TraefikService
|
|
tls:
|
|
secretName: clank-cert
|
|
---
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: wishlist-ingress
|
|
namespace: kube-system
|
|
spec:
|
|
entryPoints:
|
|
- web
|
|
- websecure
|
|
routes:
|
|
- match: Host(`wishlist.kjuulh.app`)
|
|
kind: Rule
|
|
services:
|
|
- name: wishlist
|
|
kind: Service
|
|
namespace: wishlist
|
|
port: 80
|
|
responseForwarding:
|
|
flushInterval: 1ms
|
|
scheme: https
|
|
serversTransport: transport
|
|
tls:
|
|
secretName: clank-cert
|