-
Notifications
You must be signed in to change notification settings - Fork 0
/
certificate.yaml
36 lines (36 loc) · 775 Bytes
/
certificate.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
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: foobar-faucet-cert
namespace: default
spec:
secretName: foobar-faucet-cert
issuerRef:
name: foobar-faucet-issuer
kind: ClusterIssuer
commonName: foobar.protonchain.com
dnsNames:
- foobar.protonchain.com
acme:
config:
- http01:
ingress: foobar-faucet-ssl-ingress
domains:
- foobar.protonchain.com
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: foobar-faucet-issuer
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: [email protected]
privateKeySecretRef:
name: foobar-faucet-cert
http01: {}
solvers:
- selector: {}
http01:
ingress:
class: nginx