Skip to content

Instantly share code, notes, and snippets.

@Yitaek
Created August 5, 2020 13:48
Show Gist options
  • Save Yitaek/6770d1100a1105f9a50e4528afbe7cb6 to your computer and use it in GitHub Desktop.
Save Yitaek/6770d1100a1105f9a50e4528afbe7cb6 to your computer and use it in GitHub Desktop.
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