26 lines
580 B
YAML
26 lines
580 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: geocrop-api-ingress
|
|
namespace: geocrop
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "600m"
|
|
spec:
|
|
ingressClassName: nginx
|
|
tls:
|
|
- hosts:
|
|
- api.portfolio.techarvest.co.zw
|
|
secretName: geocrop-web-api-tls
|
|
rules:
|
|
- host: api.portfolio.techarvest.co.zw
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: geocrop-api
|
|
port:
|
|
number: 8000
|