Files
MOHPortalTest-AllAgents-All…/qwen/python/k8s/ingress.yaml
2025-10-24 16:29:40 -05:00

27 lines
794 B
YAML

# Kubernetes Ingress for the MerchantsOfHope application
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: merchants-of-hope-ingress
annotations:
# Use specific ingress controller annotations as needed (nginx, traefik, etc.)
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
cert-manager.io/cluster-issuer: "letsencrypt-prod" # If using cert-manager
spec:
tls:
- hosts:
- merchants-of-hope.org
secretName: merchants-of-hope-tls
rules:
- host: merchants-of-hope.org
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: merchants-of-hope-service
port:
number: 80