Add ingress to wishlist
This commit is contained in:
parent
fabeb43c2d
commit
c95d60e981
@ -3,30 +3,24 @@ kind: Namespace
|
|||||||
metadata:
|
metadata:
|
||||||
name: wishlist
|
name: wishlist
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: Ingress
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: wishlist-ingress
|
name: wishlist-ingress
|
||||||
namespace: wishlist
|
namespace: kube-system
|
||||||
annotations:
|
|
||||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
||||||
traefik.ingress.kubernetes.io/router.tls.certresolver: le
|
|
||||||
spec:
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- web
|
||||||
|
- websecure
|
||||||
|
routes:
|
||||||
|
- match: Host(`wishlist.kjuulh.app`)
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: wishlist-service
|
||||||
|
kind: service
|
||||||
|
namespace: wishlist
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
secretName: clank-cert
|
||||||
- wishlist.kjuulh.app
|
|
||||||
rules:
|
|
||||||
- host: wishlist.kjuulh.app
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: wishlist-service
|
|
||||||
port:
|
|
||||||
number: 80
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
Loading…
Reference in New Issue
Block a user