Skip to content

Instantly share code, notes, and snippets.

@marcelo-ochoa
Last active May 19, 2021 20:31
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 marcelo-ochoa/e9be42c86b56a05429f1befe33a4a7ab to your computer and use it in GitHub Desktop.
Save marcelo-ochoa/e9be42c86b56a05429f1befe33a4a7ab to your computer and use it in GitHub Desktop.
Sample ClusterIssuer staging
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-staging
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: user@example.com
server: https://acme-staging-v02.api.letsencrypt.org/directory
privateKeySecretRef:
# Secret resource that will be used to store the account's private key.
name: example-issuer-account-key
# 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