mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-10-15 19:56:15 +00:00
saggar(kube): expose docs.saggar.dev
The chart's docs book (static nginx) was up in-cluster only: give its ingress a host, with the same edge path as the api host — dns A record, cert-manager certificate and caddy route.
This commit is contained in:
@@ -111,3 +111,19 @@ spec:
|
||||
- api.saggar.dev
|
||||
duration: 2160h # 90 days
|
||||
renewBefore: 360h # 15 days before expiry
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: docs-saggar-dev
|
||||
namespace: caddy
|
||||
spec:
|
||||
secretName: docs-saggar-dev-tls
|
||||
issuerRef:
|
||||
name: letsencrypt-production
|
||||
kind: ClusterIssuer
|
||||
commonName: docs.saggar.dev
|
||||
dnsNames:
|
||||
- docs.saggar.dev
|
||||
duration: 2160h # 90 days
|
||||
renewBefore: 360h # 15 days before expiry
|
||||
|
||||
Reference in New Issue
Block a user