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