-
Notifications
You must be signed in to change notification settings - Fork 0
/
lametric.yaml
52 lines (51 loc) · 1.3 KB
/
lametric.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: lametric-alert
labels:
app: lametric-alert
spec:
replicas: 1
selector:
matchLabels:
app: lametric-alert
template:
metadata:
labels:
app: lametric-alert
spec:
containers:
- image: mikedavem/raspberry:lametric-arm-1.0
name: lametric-alert
imagePullPolicy: IfNotPresent
env:
- name: API_KEY
valueFrom:
secretKeyRef:
name: lametric-app-secrets
key: lametrictoken
- name: LAMETRIC_IP
value: "192.168.0.50"
- name: SQL_FOLDER_TOSEARCH
value: "SQL Alerts"
- name: RECIPIENT_NAME
valueFrom:
secretKeyRef:
name: lametric-app-secrets
key: recipient
- name: RECIPIENT_PWD
valueFrom:
secretKeyRef:
name: lametric-app-secrets
key: password
- name: TIME_INTERVAL_READ_MAIL_S
value: "10"
- name: TIME_INTERVAL_SEND_ALERT_S
value: "30"
- name: START_CHECK_HOUR
value: "06:00"
- name: END_CHECK_HOUR
value: "18:00"
imagePullSecrets:
- name: dockercred
---