Skip to content

Commit

Permalink
[mosquitto] added mqtt broker (#104)
Browse files Browse the repository at this point in the history
* removed transmission

* removed transmission

* disable curr mqtt broker

* disable curr mqtt broker

* disable curr mqtt broker

* disable curr mqtt broker

* disable curr mqtt broker

* disable curr mqtt broker

* disable curr mqtt broker

* disable curr mqtt broker

* installing mosquitto

Signed-off-by: Carlos Ravelo <[email protected]>

* fixing config

Signed-off-by: Carlos Ravelo <[email protected]>

* service config

Signed-off-by: Carlos Ravelo <[email protected]>

* service config

Signed-off-by: Carlos Ravelo <[email protected]>

* revert change for sftp

* revert change for sftp

* revert change for sftp

* revert change for sftp

* revert change for sftp

* remove mosquitto

* remove mosquitto

* update zigbee to point to the new mqtt broker

* update zigbee to point to the new mqtt broker

Co-authored-by: Carlos Ravelo <[email protected]>
  • Loading branch information
cybervoid and gandazgul authored Jul 1, 2022
1 parent 008c2aa commit b033f52
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 12 deletions.
5 changes: 0 additions & 5 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions apps/MosquitoMQTTBroker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: mosquitto
namespace: default
spec:
chart:
spec:
chart: mosquitto
version: 4.3.2
sourceRef:
kind: HelmRepository
name: k8s-at-home
namespace: flux-system
dependsOn:
- name: yasr-volume
interval: 1h0m0s
values:
# TODO: why does it have to be NodePort?
service:
main:
type: NodePort
ports:
mqtt:
enabled: true
port: 1883
nodePort: 1883
persistence:
configinc:
enabled: true
type: pvc
existingClaim: yasr-volume
subPath: configs/mosquitto
2 changes: 1 addition & 1 deletion apps/Zigbee2mqtt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
config:
homeassistant: true
mqtt:
server: "mqtt://mqtt-broker-mosca"
server: "mqtt://10.1.1.2"
serial:
port: /dev/ttyUSB0
image:
Expand Down
3 changes: 2 additions & 1 deletion clusters/gandazgul/apps/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ resources:
- ../../../apps/Resilio.yaml
- ../../../apps/Bitwarden.yaml
- ../../../apps/HomeAssistant.yaml
- ../../../apps/MQTTBroker.yaml
#- ../../../apps/MQTTBroker.yaml
- ../../../apps/MosquitoMQTTBroker.yaml
- ../../../apps/transmission/gandazgul/
- ../../../apps/Radarr.yaml
- ../../../apps/Sonarr.yaml
Expand Down
11 changes: 6 additions & 5 deletions clusters/rafag/apps/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ resources:
- ../../../apps/Resilio.yaml
- ../../../apps/Bitwarden.yaml
- ../../../apps/HomeAssistant.yaml
- ../../../apps/MQTTBroker.yaml
- ../../../apps/transmission/rafag/
- ../../../apps/Radarr.yaml
- ../../../apps/Sonarr.yaml
- ../../../apps/Prowlarr.yaml
#- ../../../apps/MQTTBroker.yaml
#- ../../../apps/transmission/rafag/
#- ../../../apps/Radarr.yaml
#- ../../../apps/Sonarr.yaml
#- ../../../apps/Prowlarr.yaml
- ../../../apps/Photoprism.yaml
- ../../../apps/Zigbee2mqtt.yaml
- ../../../apps/Paperless.yaml
- ../../../apps/SFTPGo.yaml
- ../../../apps/MosquitoMQTTBroker.yaml
#- ../../../apps/Minecraft.yaml

0 comments on commit b033f52

Please sign in to comment.