35 lines
916 B
YAML
35 lines
916 B
YAML
apiVersion: cert-manager.io/v1
|
|
kind: Certificate
|
|
metadata:
|
|
name: app-dev-fixergrid-net-stg
|
|
namespace: app1
|
|
spec:
|
|
# Secret names are always required.
|
|
secretName: app1-dev-stg-cert-tls
|
|
|
|
duration: 2160h # 90d
|
|
renewBefore: 360h # 15d
|
|
subject:
|
|
organizations:
|
|
- Equinix Metal
|
|
# The use of the common name field has been deprecated since 2000 and is
|
|
# discouraged from being used.
|
|
commonName: app1.dev.fixergrid.net
|
|
isCA: false
|
|
privateKey:
|
|
algorithm: RSA
|
|
encoding: PKCS1
|
|
size: 2048
|
|
usages:
|
|
- server auth
|
|
- client auth
|
|
# At least one of a DNS Name, URI, or IP address is required.
|
|
dnsNames:
|
|
- app1.dev.fixergrid.net
|
|
# Issuer references are always required.
|
|
issuerRef:
|
|
name: letsencrypt-staging
|
|
# We can reference ClusterIssuers by changing the kind here.
|
|
# The default value is Issuer (i.e. a locally namespaced Issuer)
|
|
kind: ClusterIssuer
|