mirror of
https://github.com/morten-olsen/homelab-operator.git
synced 2026-02-08 01:36:28 +01:00
Fix/renovate (#44)
This commit is contained in:
@@ -8,5 +8,5 @@ data:
|
||||
mosquitto.conf: |
|
||||
persistence true
|
||||
persistence_location /mosquitto/data/
|
||||
listener 1884 0.0.0.0
|
||||
listener 1883 0.0.0.0
|
||||
allow_anonymous true
|
||||
|
||||
@@ -27,7 +27,7 @@ spec:
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- mosquitto_pub -h localhost -p 1884 -t health/ready -m "ready" -q 0 -i readiness_client -V 5
|
||||
- mosquitto_pub -h localhost -p 1883 -t health/ready -m "ready" -q 0 -i readiness_client -V 5
|
||||
initialDelaySeconds: 10 # Give broker time to start
|
||||
periodSeconds: 20 # Check every 20 seconds
|
||||
timeoutSeconds: 5 # Fail if command takes longer than 5 seconds
|
||||
@@ -37,7 +37,7 @@ spec:
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- mosquitto_pub -h localhost -p 1884 -t health/ready -m "ready" -q 0 -i readiness_client -V 5
|
||||
- mosquitto_pub -h localhost -p 1883 -t health/ready -m "ready" -q 0 -i readiness_client -V 5
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 20
|
||||
timeoutSeconds: 5
|
||||
|
||||
11
charts/apps/mqtt/templates/http-service.yaml
Normal file
11
charts/apps/mqtt/templates/http-service.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: homelab.mortenolsen.pro/v1
|
||||
kind: HttpService
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}"
|
||||
spec:
|
||||
environment: "{{ .Values.globals.environment }}"
|
||||
subdomain: "{{ .Values.subdomain }}"
|
||||
destination:
|
||||
host: "{{ .Release.Name }}"
|
||||
port:
|
||||
number: 1883
|
||||
@@ -5,7 +5,7 @@ metadata:
|
||||
labels:
|
||||
app: "{{ .Release.Name }}"
|
||||
spec:
|
||||
type: ClusterIP
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- port: 1883
|
||||
targetPort: 1883
|
||||
|
||||
Reference in New Issue
Block a user