Skip to content

Instantly share code, notes, and snippets.

@wohugb
Created December 25, 2022 03:38
Show Gist options
  • Save wohugb/559025239424d3eee43e196e0fff6da7 to your computer and use it in GitHub Desktop.
Save wohugb/559025239424d3eee43e196e0fff6da7 to your computer and use it in GitHub Desktop.
cert-manager
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: letsencrypt-staging
namespace: default
spec:
acme:
# The ACME server URL
server: https://acme-staging-v02.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
solvers:
# An empty 'selector' means that this solver matches all domains
- selector: {}
http01:
ingress:
class: nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment