Create k10-web-ingress.yaml
This commit is contained in:
23
config/k10/k10-web-ingress.yaml
Normal file
23
config/k10/k10-web-ingress.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: k10-gateway
|
||||||
|
namespace: kasten-io
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: traefik
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
||||||
|
spec:
|
||||||
|
tls:
|
||||||
|
- hosts: [k10.innohub.local]
|
||||||
|
secretName: k10-tls
|
||||||
|
rules:
|
||||||
|
- host: k10.innohub.local
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: gateway
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
Reference in New Issue
Block a user