25 lines
577 B
YAML
25 lines
577 B
YAML
|
|
apiVersion: cert-manager.io/v1
|
||
|
|
kind: Certificate
|
||
|
|
metadata:
|
||
|
|
name: dashboard-mtls-cert
|
||
|
|
namespace: customer1
|
||
|
|
spec:
|
||
|
|
secretName: dashboard-mtls-secret
|
||
|
|
duration: 2160h # 90 days
|
||
|
|
renewBefore: 360h # 15 days
|
||
|
|
commonName: dashboard.customer1.svc.cluster.local
|
||
|
|
dnsNames:
|
||
|
|
- dashboard
|
||
|
|
- dashboard.customer1
|
||
|
|
- dashboard.customer1.svc
|
||
|
|
- dashboard.customer1.svc.cluster.local
|
||
|
|
usages:
|
||
|
|
- digital signature
|
||
|
|
- key encipherment
|
||
|
|
- client auth
|
||
|
|
- server auth
|
||
|
|
issuerRef:
|
||
|
|
name: trading-platform-ca-issuer
|
||
|
|
kind: Issuer
|
||
|
|
group: cert-manager.io
|