Test certGen

This commit is contained in:
Simen Røstvik 2022-11-30 15:02:11 +01:00
parent fa1e030427
commit f6a4272710

View File

@ -43,3 +43,21 @@ spec:
apiTokenSecretRef:
name: cloudflare-api-token-secret
key: CLOUDFLARE_API_KEY
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: test-roxedus-com
namespace: default
spec:
# Secret names are always required.
secretName: example-com-tls
# The use of the common name field has been deprecated since 2000 and is
# discouraged from being used.
commonName: test.example.com
issuerRef:
name: roxedus.com-cloudflare
# We can reference ClusterIssuers by changing the kind here.
# The default value is Issuer (i.e. a locally namespaced Issuer)
kind: ClusterIssuer