gcloud-lab/trading-platform/deploy/k8s/base/cert-manager/dashboard-mtls-cert.yaml

25 lines
577 B
YAML
Raw Normal View History

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