-
Notifications
You must be signed in to change notification settings - Fork 1
/
certs.yaml
42 lines (42 loc) · 989 Bytes
/
certs.yaml
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
40
41
42
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: [email protected]
privateKeySecretRef:
name: letsencrypt-prod
solvers:
- dns01:
rfc2136:
tsigKeyName: pair
tsigAlgorithm: HMACMD5
tsigSecretSecretRef:
name: tsig-powerdns
key: powerdns
nameserver: ${LB_IP}
selector:
dnsNames:
- "*.coder.sharing.io"
- "coder.sharing.io"
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: letsencrypt-prod
namespace: coder
spec:
secretName: letsencrypt-prod
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
commonName: "*.coder.sharing.io"
dnsNames:
- "*.coder.sharing.io"
- "coder.sharing.io"
secretTemplate:
annotations:
kubed.appscode.com/sync: cert-manager-tls