This repository was archived by the owner on Jul 3, 2024. It is now read-only.
forked from sabre1041/sigstore-ansible
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathctlog.yaml
81 lines (81 loc) · 2.16 KB
/
ctlog.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: ctlog
namespace: ctlog-system
labels:
app.kubernetes.io/instance: scaffold
app.kubernetes.io/name: ctlog
spec:
replicas: 1
selector:
matchLabels:
app: ctlog
template:
metadata:
labels:
app: ctlog
app.kubernetes.io/instance: scaffold
app.kubernetes.io/name: ctlog
spec:
containers:
- name: ctlog
image: {{ ct_server_image }}
imagePullPolicy: IfNotPresent
livelinessProbe:
failureThreshold: 3
httpGet:
path: /healthz
port: 6962
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
ports:
- containerPort: 6962
protocol: TCP
- containerPort: 6963
protocol: TCP
args:
- --http_endpoint=0.0.0.0:6962
- --metrics_endpoint=0.0.0.0:6963
- --log_config=/config/config
- --alsologtostderr
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /ctfe-keys
name: keys
readOnly: true
- mountPath: /config
name: config
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
nodeName: minikube
preemptionPolicy: PreemptLowerPriority
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
runAsNonRoot: true
runAsUser: 65533
serviceAccountName: ctlog
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes:
- name: keys
secret:
secretName: ctlog-secret
- name: config
configMap:
name: ctlog-config