Files
k8s-starter-pack/apps/blog-ahmza-com/ingress.yaml
T

27 lines
734 B
YAML
Raw Normal View History

2026-10-31 20:41:04 +00:00
# Share ingress-nginx at 10.10.60.12. DNS and any external Caddy/NetBird
# hostname routing must also be pointed at this ingress before public cutover.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: blog
namespace: blog-ahmza-com
annotations:
# Reuse the production DNS-01 issuer already used by the cluster's sites.
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
ingressClassName: nginx
tls:
- hosts:
- blog.ahmza.com
secretName: blog-tls
rules:
- host: blog.ahmza.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: blog
port:
name: http