cert-manager/le-issuers.yaml (view raw)
1apiVersion: cert-manager.io/v1
2kind: ClusterIssuer
3metadata:
4 name: letsencrypt-staging
5spec:
6 acme:
7 server: https://acme-staging-v02.api.letsencrypt.org/directory
8 email: anirudh@oppiliappan.com
9 privateKeySecretRef:
10 name: letsencrypt-staging
11 solvers:
12 - http01:
13 ingress:
14 ingressClassName: nginx
15---
16apiVersion: cert-manager.io/v1
17kind: ClusterIssuer
18metadata:
19 name: letsencrypt-prod
20spec:
21 acme:
22 server: https://acme-v02.api.letsencrypt.org/directory
23 email: anirudh@oppiliappan.com
24 privateKeySecretRef:
25 name: letsencrypt-prod
26 solvers:
27 - http01:
28 ingress:
29 ingressClassName: nginx