Add certificate issuer

This commit is contained in:
Kasper Juul Hermansen 2022-05-08 22:46:20 +02:00
parent 1680314c35
commit 0746c27fff
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -1,21 +1,21 @@
#apiVersion: cert-manager.io/v1
#kind: ClusterIssuer
#metadata:
# name: letsencrypt-issuer
#spec:
# acme:
# # You must replace this email address with your own.
# # Let's Encrypt will use this to contact you about expiring
# # certificates, and issues related to your account.
# email: contact@kjuulh.io
# server: https://acme-staging-v02.api.letsencrypt.org/directory
# privateKeySecretRef:
# # Secret resource that will be used to store the account's private key.
# name: letsencrypt-issuer-secret
# # Add a single challenge solver, HTTP01 using nginx
# solvers:
# - dns01:
# cloudflare:
# apiTokenSecretRef:
# name: cloudflare-api-token-secret
# key: api-token
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-issuer
spec:
acme:
# You must replace this email address with your own.
# Let's Encrypt will use this to contact you about expiring
# certificates, and issues related to your account.
email: contact@kjuulh.io
server: https://acme-staging-v02.api.letsencrypt.org/directory
privateKeySecretRef:
# Secret resource that will be used to store the account's private key.
name: letsencrypt-issuer-secret
# Add a single challenge solver, HTTP01 using nginx
solvers:
- dns01:
cloudflare:
apiTokenSecretRef:
name: cloudflare-api-token-secret
key: api-token