From f6a427271048c16564a28ecc1af514c861f5aaf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20R=C3=B8stvik?= Date: Wed, 30 Nov 2022 15:02:11 +0100 Subject: [PATCH] Test certGen --- apps/templates/cert-manager.yaml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/apps/templates/cert-manager.yaml b/apps/templates/cert-manager.yaml index 4e8c85d..bb13eb8 100644 --- a/apps/templates/cert-manager.yaml +++ b/apps/templates/cert-manager.yaml @@ -42,4 +42,22 @@ spec: cloudflare: apiTokenSecretRef: name: cloudflare-api-token-secret - key: CLOUDFLARE_API_KEY \ No newline at end of file + 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 \ No newline at end of file