17 lines
No EOL
290 B
YAML
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 |