apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: hub-dev-fixergrid-net-stg namespace: hub spec: # Secret names are always required. secretName: hub-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: hub.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: - hub.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