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 pathredis-server.yaml
70 lines (70 loc) · 1.89 KB
/
redis-server.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: rekor-redis
namespace: rekor-system
labels:
app.kubernetes.io/component: redis
app.kubernetes.io/instance: scaffold
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: rekor
helm.sh/chart: rekor-1.0.3
spec:
replicas: 1
selector:
matchLabels:
app: rekor-redis
template:
metadata:
labels:
app: rekor-redis
app.kubernetes.io/component: redis
app.kubernetes.io/instance: scaffold
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: rekor
helm.sh/chart: rekor-1.0.3
spec:
containers:
- name: rekor-redis
args:
- /usr/bin/run-redis
- --bind
- 0.0.0.0
- --appendonly
- "yes"
image: {{ redis_image }}
imagePullPolicy: IfNotPresent
ports:
- containerPort: 6379
hostPort: 6379
protocol: TCP
readinessProbe:
exec:
command:
- /usr/bin/run-redis
- --bind
- 0.0.0.0
- --appendonly
- "yes"
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
enableServiceLinks: true
securityContext: {}
serviceAccountName: rekor-redis
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300