khuedoan-homelab/apps/blog/ingress.yaml
Khue Doan bb4cc325f0 Revert "refactor(blog)!: move blog to khuedoan/horus"
This reverts commit b6313e41a9.

Use both for manual failover
2023-01-24 17:58:50 +07:00

25 lines
620 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: blog
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
external-dns.alpha.kubernetes.io/target: homelab-tunnel.khuedoan.com
external-dns.alpha.kubernetes.io/cloudflare-proxied: 'true'
spec:
ingressClassName: nginx
rules:
- host: &host www.khuedoan.com
http:
paths:
- pathType: ImplementationSpecific
backend:
service:
name: blog
port:
name: http
tls:
- hosts:
- *host
secretName: blog-tls-certificate