Skip to content

Instantly share code, notes, and snippets.

@mdbetancourt
Created June 27, 2019 16:42
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 mdbetancourt/92727eb2584ba1cc995eb42d15a36bf6 to your computer and use it in GitHub Desktop.
Save mdbetancourt/92727eb2584ba1cc995eb42d15a36bf6 to your computer and use it in GitHub Desktop.
Cluster Issuer
apiVersion: certmanager.k8s.io/v1alpha1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
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: correo@ejemplo.com
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
# Secret resource used to store the account's private key.
name: letsencrypt-prod
# Add a single challenge solver, HTTP01 using nginx
solvers:
- http01:
ingress:
class: nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment