Skip to content

Instantly share code, notes, and snippets.

@Yitaek
Created Aug 5, 2020
Embed
What would you like to do?
Cert-manager issuer example
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
name: letsencrypt-staging
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: user@example.com
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
# Secret resource used to store the account's private key.
name: example-issuer-account-key
solvers:
- dns01:
cloudflare:
email: user@example.com
apiTokenSecretRef:
name: cloudflare
key: dns-token
selector:
dnsZones:
- 'example.com'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment