khuedoan-homelab/apps/blog/ingress.yaml
2021-12-26 12:36:14 +07:00

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