Skip to content

Instantly share code, notes, and snippets.

@wanderindev
Created June 29, 2022 04:24
Show Gist options
  • Save wanderindev/b3dc264bbb81025dd18a7bccac0e1bc7 to your computer and use it in GitHub Desktop.
Save wanderindev/b3dc264bbb81025dd18a7bccac0e1bc7 to your computer and use it in GitHub Desktop.
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
namespace: cert-manager
spec:
acme:
# The ACME server URL
server: https://acme-v02.api.letsencrypt.org/directory
# Email address used for ACME registration
email: javier@wanderin.dev
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt-prod
# 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