-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpebble.yaml
88 lines (88 loc) · 1.89 KB
/
pebble.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
apiVersion: v1
kind: ConfigMap
metadata:
name: pebble-config
namespace: le-operator-system
data:
pebble-config.json: |
{
"pebble": {
"listenAddress": "0.0.0.0:14000",
"managementListenAddress": "0.0.0.0:15000",
"certificate": "test/certs/localhost/cert.pem",
"privateKey": "test/certs/localhost/key.pem",
"httpPort": 80,
"tlsPort": 443,
"ocspResponderURL": "",
"externalAccountBindingRequired": false
}
}
---
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "2"
labels:
app: pebble
name: pebble
namespace: le-operator-system
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: pebble
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: pebble
spec:
containers:
- env:
- name: PEBBLE_VA_NOSLEEP
value: "1"
volumeMounts:
- name: pebble-config
mountPath: /pebble-config
command:
- "/usr/bin/pebble"
- "-config"
- "/pebble-config/pebble-config.json"
image: letsencrypt/pebble
imagePullPolicy: Always
name: pebble
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
terminationGracePeriodSeconds: 30
volumes:
- name: pebble-config
configMap:
name: pebble-config
---
apiVersion: v1
kind: Service
metadata:
labels:
app: pebble
name: pebble
namespace: le-operator-system
spec:
ports:
- name: management
port: 15000
- name: acme
port: 14000
selector:
app: pebble