mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-24 18:06:16 +07:00
25 lines
621 B
YAML
25 lines
621 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 blog.khuedoan.com
|
|
http:
|
|
paths:
|
|
- pathType: ImplementationSpecific
|
|
backend:
|
|
service:
|
|
name: blog
|
|
port:
|
|
name: http
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
secretName: blog-tls-certificate
|