2024-01-04 09:20:04 +07:00
|
|
|
app-template:
|
|
|
|
controllers:
|
|
|
|
main:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
image:
|
|
|
|
repository: registry.khuedoan.com/blog
|
|
|
|
tag: latest
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
http:
|
2024-01-05 12:01:23 +07:00
|
|
|
port: 3000
|
2024-01-04 09:20:04 +07:00
|
|
|
protocol: HTTP
|
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
className: nginx
|
|
|
|
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'
|
|
|
|
hosts:
|
|
|
|
- host: &host www.khuedoan.com
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
service:
|
|
|
|
name: main
|
|
|
|
port: http
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- *host
|
|
|
|
secretName: blog-tls-certificate
|