forked from PinSpace-Org/GistPin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcert-manager.yaml
More file actions
41 lines (41 loc) 路 825 Bytes
/
Copy pathcert-manager.yaml
File metadata and controls
41 lines (41 loc) 路 825 Bytes
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
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: gistpin-mtls-issuer
spec:
selfSigned: {}
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: gistpin-mtls-cert
namespace: gistpin
spec:
secretName: gistpin-mtls-tls
duration: 2160h # 90 days
renewBefore: 216h # 9 days
commonName: "*.gistpin.svc.cluster.local"
dnsNames:
- "*.gistpin.svc.cluster.local"
issuerRef:
name: gistpin-mtls-issuer
kind: ClusterIssuer
privateKey:
algorithm: ECDSA
size: 256
usages:
- digital signature
- key encipherment
- server auth
- client auth
---
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: cert-manager-webhook
namespace: cert-manager
spec:
minAvailable: 1
selector:
matchLabels:
app.kubernetes.io/name: webhook