-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathoui-balance-monitoring.yaml
More file actions
40 lines (40 loc) · 1.16 KB
/
oui-balance-monitoring.yaml
File metadata and controls
40 lines (40 loc) · 1.16 KB
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
apiVersion: batch/v1
kind: CronJob
metadata:
name: oui-balance-monitoring
namespace: slack-tools
spec:
schedule: "0 2 * * *"
concurrencyPolicy: "Forbid"
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
spec:
backoffLimit: 10
ttlSecondsAfterFinished: 86400
template:
metadata:
labels:
app: "oui-balance-monitoring"
spec:
restartPolicy: OnFailure
containers:
- name: oui-balance-monitoring
image: public.ecr.aws/v0j6k5v6/oui-balance-monitoring:0.0.10
imagePullPolicy: IfNotPresent
env:
- name: SOLANA_RPC
valueFrom:
secretKeyRef:
name: helius-rpc-url-prod
key: HELIUS_RPC_URL_PROD
- name: SLACK_TOKEN
valueFrom:
secretKeyRef:
name: slack-token
key: SLACK_TOKEN
- name: DUNE_KEY
valueFrom:
secretKeyRef:
name: dune-key
key: DUNE_KEY