Skip to content

Instantly share code, notes, and snippets.

@cjimti
Last active May 18, 2018 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjimti/346046885a4fd7db83edd5d4e08509f7 to your computer and use it in GitHub Desktop.
Save cjimti/346046885a4fd7db83edd5d4e08509f7 to your computer and use it in GitHub Desktop.
Kubernetes cert-manager Let's Encrypt ClusterIssuer
apiVersion: certmanager.k8s.io/v1alpha1
kind: Issuer
metadata:
name: letsencrypt-staging
namespace: default
spec:
acme:
# The ACME server URL
server: https://acme-staging.api.letsencrypt.org/directory
# Email address used for ACME registration
email: user@example.com
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt-staging
# Enable the HTTP-01 challenge provider
http01: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment