Skip to content

Instantly share code, notes, and snippets.

@marcelo-ochoa
Last active May 19, 2021 20:31
Show Gist options
  • 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: [email protected]
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