mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 13:08:52 +07:00
35 lines
830 B
YAML
35 lines
830 B
YAML
|
app-template:
|
||
|
controllers:
|
||
|
main:
|
||
|
containers:
|
||
|
main:
|
||
|
image:
|
||
|
repository: registry.khuedoan.com/blog
|
||
|
tag: latest
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
http:
|
||
|
port: 80
|
||
|
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
|