This commit is contained in:
Simen Røstvik 2022-11-30 15:07:22 +01:00
parent fa813f661e
commit b965c8096b

View File

@ -43,6 +43,10 @@ spec:
apiTokenSecretRef: apiTokenSecretRef:
name: cloudflare-api-token-secret name: cloudflare-api-token-secret
key: CLOUDFLARE_API_KEY key: CLOUDFLARE_API_KEY
selector:
dnsNames:
- 'roxedus.com'
- '*.roxedus.com'
--- ---
apiVersion: cert-manager.io/v1 apiVersion: cert-manager.io/v1
kind: Certificate kind: Certificate
@ -53,9 +57,8 @@ spec:
# Secret names are always required. # Secret names are always required.
secretName: example-com-tls secretName: example-com-tls
# The use of the common name field has been deprecated since 2000 and is dnsNames:
# discouraged from being used. - test.roxedus.com
commonName: test.roxedus.com
issuerRef: issuerRef:
name: roxedus.com-cloudflare name: roxedus.com-cloudflare
# We can reference ClusterIssuers by changing the kind here. # We can reference ClusterIssuers by changing the kind here.