Skip to content

Instantly share code, notes, and snippets.

@erikaulin
Created May 24, 2018 06:14
Show Gist options
  • Save erikaulin/bc82615e08c07b6ec46f61378fa2e465 to your computer and use it in GitHub Desktop.
Save erikaulin/bc82615e08c07b6ec46f61378fa2e465 to your computer and use it in GitHub Desktop.
apiVersion: certmanager.k8s.io/v1alpha1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
# The ACME server URL
server: https://acme-v01.api.letsencrypt.org/directory
# Email address used for ACME registration
email: john@example.com
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt-prod
# Enable the DNS-01 challenge provider
dns01:
providers:
- name: cloudflare
cloudflare:
email: john@example.com
apiKeySecretRef:
name: cloudflare
key: api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment