cert-manager.yaml 892 B

12345678910111213141516171819202122232425262728293031323334
  1. apiVersion: certmanager.k8s.io/v1alpha1
  2. kind: ClusterIssuer
  3. metadata:
  4. name: letsencrypt-staging
  5. spec:
  6. acme:
  7. # The ACME server URL
  8. server: https://acme-staging-v02.api.letsencrypt.org/directory
  9. # Email address used for ACME registration
  10. email: tom@tombh.co.uk
  11. # Name of a secret used to store the ACME account private key
  12. privateKeySecretRef:
  13. name: letsencrypt-staging
  14. # Enable the HTTP-01 challenge provider
  15. http01: {}
  16. ---
  17. apiVersion: certmanager.k8s.io/v1alpha1
  18. kind: ClusterIssuer
  19. metadata:
  20. name: letsencrypt-prod
  21. spec:
  22. acme:
  23. # The ACME server URL
  24. server: https://acme-v02.api.letsencrypt.org/directory
  25. # Email address used for ACME registration
  26. email: tom@tombh.co.uk
  27. # Name of a secret used to store the ACME account private key
  28. privateKeySecretRef:
  29. name: letsencrypt-prod
  30. # Enable the HTTP-01 challenge provider
  31. http01: {}