Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stifydom/2c8c5c0bb7a63cd58bb039396fa9f9e9 to your computer and use it in GitHub Desktop.
Save stifydom/2c8c5c0bb7a63cd58bb039396fa9f9e9 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