File tree 1 file changed +85
-0
lines changed
1 file changed +85
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : v1
3
+ kind : Namespace
4
+ metadata :
5
+ name : vuegraf
6
+
7
+ ---
8
+ apiVersion : apps/v1
9
+ kind : Deployment
10
+ metadata :
11
+ name : vue
12
+ namespace : vuegraf
13
+ spec :
14
+ replicas : 1
15
+ revisionHistoryLimit : 3
16
+ selector :
17
+ matchLabels :
18
+ app : vue
19
+ strategy :
20
+ type : Recreate
21
+ template :
22
+ metadata :
23
+ labels :
24
+ app : vue
25
+ spec :
26
+ containers :
27
+ - image : docker.io/jertel/vuegraf:latest
28
+ imagePullPolicy : IfNotPresent
29
+ name : vue
30
+ volumeMounts :
31
+ - mountPath : /opt/vuegraf/conf/vuegraf.json
32
+ subPath : vuegraf.json
33
+ name : config
34
+ securityContext :
35
+ runAsNonRoot : true
36
+ volumes :
37
+ - name : config
38
+ configMap :
39
+ name : vuegraf-configs
40
+
41
+ ---
42
+
43
+ apiVersion : v1
44
+ kind : ConfigMap
45
+ metadata :
46
+ name : vuegraf-configs
47
+ namespace : vuegraf
48
+ data :
49
+ # Replace influx db configuration; emporia account information
50
+ # and channel names
51
+ vuegraf.json : |
52
+ {
53
+ "influxDb": {
54
+ "host": "influx-svc.influxdb.svc.cluster.local",
55
+ "port": 8086,
56
+ "user": "vue-write",
57
+ "pass": "XXX",
58
+ "database": "vue",
59
+ "reset": false
60
+ },
61
+ "accounts": [
62
+ {
63
+ "name": "accountNameHere",
64
+
65
+ "password": "YYY",
66
+ "devices": [
67
+ {
68
+ "name": "panelNameHere",
69
+ "channels": [
70
+ "Kiln",
71
+ "Split AC",
72
+ "Outlets - left",
73
+ "Outlets - right",
74
+ "Outlets - central",
75
+ "Shedroom",
76
+ "Outlets - rear",
77
+ "Lights"
78
+ ]
79
+ }
80
+ ]
81
+ }
82
+ ]
83
+ }
84
+
85
+
You can’t perform that action at this time.
0 commit comments