-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlets-encrypt-issuer.yml
39 lines (39 loc) · 1.26 KB
/
lets-encrypt-issuer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#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: letsencrypt-staging
# # Add a single challenge solver, HTTP01 using nginx
# solvers:
# - http01:
# ingress:
# class: nginx
#---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-production
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-v02.api.letsencrypt.org/directory
privateKeySecretRef:
# Secret resource that will be used to store the account's private key.
name: letsencrypt-production
# Add a single challenge solver, HTTP01 using nginx
solvers:
- http01:
ingress:
class: nginx