Skip to content

Commit fb291de

Browse files
committed
feat(teslamate): add mqtt
1 parent 10ca851 commit fb291de

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

kubernetes/apps/teslamate/flux-kustomization.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ spec:
1919
path: /spec/dataSource
2020
target:
2121
kind: PostgresCluster
22+
- patch: |
23+
- op: add
24+
path: /spec/patroni/dynamicConfiguration/postgresql/pg_hba
25+
value:
26+
- hostnossl teslamate teslamate 10.244.0.0/16 md5
27+
target:
28+
kind: PostgresCluster
2229
postBuild:
2330
substitute:
2431
APP: *app

kubernetes/apps/teslamate/helm-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ spec:
4747
app:
4848
env:
4949
CHECK_ORIGIN: true
50-
# MQTT_HOST: mosquitto.database.svc.cluster.local
50+
MQTT_HOST: 10.0.10.8
5151
PORT: &port 80
5252
TZ: America/New_York
5353
VIRTUAL_HOST: "{{ .Release.Name }}.chkpwd.com"

0 commit comments

Comments
 (0)