-
Notifications
You must be signed in to change notification settings - Fork 2
/
deployment.yaml
79 lines (79 loc) · 2.31 KB
/
deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.22.0 (955b78124)
labels:
io.kompose.service: hifi-liquidator-js
name: hifi-liquidator-js
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: hifi-liquidator-js
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.22.0 (955b78124)
labels:
io.kompose.service: hifi-liquidator-js
spec:
containers:
- env:
- name: ALCHEMY_KEY
valueFrom:
secretKeyRef:
name: hifi-liquidator-js-secret
key: alchemy-key
- name: INFURA_KEY
valueFrom:
secretKeyRef:
name: hifi-liquidator-js-secret
key: infura-key
- name: NETWORK_NAME
valueFrom:
configMapKeyRef:
name: hifi-liquidator-js-config-map
key: network-name
- name: PERSISTENCE_ENABLED
valueFrom:
configMapKeyRef:
name: hifi-liquidator-js-config-map
key: persistence-enabled
- name: SELECTED_ACCOUNT
valueFrom:
configMapKeyRef:
name: hifi-liquidator-js-config-map
key: selected-account
- name: SELECTED_STRATEGY
valueFrom:
configMapKeyRef:
name: hifi-liquidator-js-config-map
key: selected-strategy
- name: WALLET_SEED
valueFrom:
secretKeyRef:
name: hifi-liquidator-js-secret
key: wallet-seed
image: us-west3-docker.pkg.dev/liquidation-bots/hifi/hifi-liquidator-js:1.2.0
name: hifi-liquidator-js
resources:
limits:
cpu: "0.1"
memory: 128Mi
requests:
cpu: "0.01"
memory: 64Mi
volumeMounts:
- mountPath: /liquidator/cache
name: cache
restartPolicy: Always
volumes:
- name: cache
persistentVolumeClaim:
claimName: cache
status: {}