Skip to content

Instantly share code, notes, and snippets.

@chukaofili
Created May 24, 2018 13:38
Show Gist options
  • Save chukaofili/403fd017285996a11e7896642945319e to your computer and use it in GitHub Desktop.
Save chukaofili/403fd017285996a11e7896642945319e to your computer and use it in GitHub Desktop.
cert-manager-cluster-issuer
apiVersion: certmanager.k8s.io/v1alpha1
kind: ClusterIssuer
metadata:
name: letsencrypt-staging
spec:
acme:
server: https://acme-staging.api.letsencrypt.org/directory
email: [your-email-goes-here]
privateKeySecretRef:
name: letsencrypt-staging
http01: {}
---
apiVersion: certmanager.k8s.io/v1alpha1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
server: https://acme-v01.api.letsencrypt.org/directory
email: [your-email-goes-here]
privateKeySecretRef:
name: letsencrypt-prod
http01: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment