with manifests

This commit is contained in:
2023-07-07 23:52:29 -04:00
parent a40fc162ff
commit 8b27e73203
6 changed files with 206 additions and 0 deletions

34
manifests/my-app-crt.yaml Normal file
View File

@@ -0,0 +1,34 @@
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