52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: farm-ingress
|
|
namespace: farm
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "100m"
|
|
spec:
|
|
ingressClassName: nginx
|
|
tls:
|
|
- hosts:
|
|
- farm.techarvest.co.zw
|
|
secretName: farmos-tls
|
|
- hosts:
|
|
- nodered.farm.techarvest.co.zw
|
|
secretName: nodered-tls
|
|
- hosts:
|
|
- grafana.farm.techarvest.co.zw
|
|
secretName: grafana-tls
|
|
rules:
|
|
- host: farm.techarvest.co.zw
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: farmos
|
|
port:
|
|
number: 80
|
|
- host: nodered.farm.techarvest.co.zw
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: nodered
|
|
port:
|
|
number: 1880
|
|
- host: grafana.farm.techarvest.co.zw
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: grafana
|
|
port:
|
|
number: 3000
|