Files
k3s-manifests/gitops-demo/dev/ingress.yaml
2026-07-19 02:33:48 +07:00

28 lines
808 B
YAML

# Same Ingress shape as Phases 1-2, now delivered via GitOps. When ArgoCD syncs
# this, the full platform reacts: cert-manager issues the cert, external-dns
# creates the A record, Traefik routes it. A brand-new host proves the whole
# chain end-to-end from a single git commit.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: gitops-demo
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
ingressClassName: traefik
tls:
- hosts:
- gitops-demo.dev.lgkentang.com
secretName: gitops-demo-tls
rules:
- host: gitops-demo.dev.lgkentang.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: gitops-demo
port:
number: 80