Skip to content

Instantly share code, notes, and snippets.

@jmrobles
Created May 17, 2020 19:31
Show Gist options
  • Save jmrobles/5588da5211f03e6838c13bd310140fbf to your computer and use it in GitHub Desktop.
Save jmrobles/5588da5211f03e6838c13bd310140fbf to your computer and use it in GitHub Desktop.
apiVersion: cert-manager.io/v1alpha2
kind: Issuer
metadata:
name: letsencrypt-staging
namespace: app
spec:
acme:
# The ACME server URL
server: https://acme-staging-v02.api.letsencrypt.org/directory
# Email address used for ACME registration
email: your@email.com
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt-staging
# Enable the HTTP-01 challenge provider
solvers:
- http01:
ingress:
class: nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment