k3s-cluster/kubernetes/main/apps/database/postgresql/cert.yaml
2024-09-19 20:28:32 -04:00

17 lines
No EOL
290 B
YAML

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: postgres-cert
namespace: database
spec:
secretName: postgres-cert
duration: 2160h # 90d
renewBefore: 360h # 15d
issuerRef:
name: cluster-ca-issuer
kind: ClusterIssuer
dnsNames:
- postgresql.database