2021-06-30 01:53:54 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: katbin-ingress
|
2021-06-30 02:16:16 +00:00
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
|
|
|
2021-06-30 01:53:54 +00:00
|
|
|
spec:
|
2021-06-30 02:16:16 +00:00
|
|
|
tls:
|
|
|
|
- hosts:
|
2021-07-07 21:52:46 +00:00
|
|
|
- api.katb.in
|
|
|
|
- katb.in
|
2021-06-30 02:16:16 +00:00
|
|
|
secretName: katbin-tls
|
2021-06-30 01:53:54 +00:00
|
|
|
rules:
|
2021-07-07 21:52:46 +00:00
|
|
|
- host: api.katb.in
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: katbin-service
|
|
|
|
port:
|
|
|
|
number: 80
|
|
|
|
- host: katb.in
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: front-service
|
|
|
|
port:
|
|
|
|
number: 81
|