28 lines
734 B
YAML
28 lines
734 B
YAML
# 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
|