1
0
Fork 0

kitchen: Updates for v0.5

Kitchen v0.5 a few changes that affect the deployment:

* The Bored Board is now backed by MQTT
* The pool temperature is now displayed in the weather pane
* The container image is now based on Fedora and includes its own time
  zone database and root CA bundle
* The websocket server prevents the process from stopping correctly
  unless the graceful shutdown feature of `uvicorn` is disabled
etcd
Dustin 2024-06-05 22:01:39 -05:00
parent 48f20eac07
commit 7b8b11111e
2 changed files with 4 additions and 6 deletions

View File

@ -35,11 +35,10 @@ spec:
image: git.pyrocufflink.net/packages/kitchen:master
args:
- --host=0.0.0.0
- --timeout-graceful-shutdown=0
env:
- name: TZ
value: America/Chicago
- name: SSL_CERT_FILE
value: /usr/lib/python3.10/site-packages/certifi/cacert.pem
imagePullPolicy: Always
ports:
- containerPort: 8000
@ -49,9 +48,6 @@ spec:
mountPath: /kitchen.yaml
subPath: config.yaml
readOnly: true
- name: tzinfo
mountPath: /usr/share/zoneinfo
readOnly: true
volumes:
- name: config
secret:

View File

@ -61,7 +61,7 @@ spec:
projects: *projects_calendar
mqtt:
hostname: homeassistant.pyrocufflink.blue
host: mqtt.pyrocufflink.blue
port: 8883
tls: true
username: kitchen
@ -78,6 +78,8 @@ spec:
homeassistant_sensor_humidity_percent{entity="sensor.outdoor_humidity"}
wind_speed: >-
homeassistant_sensor_unit_m_per_s{entity="sensor.wind_speed"}
pool: >-
homeassistant_sensor_temperature_celsius{entity="sensor.pool_sensor_temperature"}
homeassistant:
url: wss://homeassistant.pyrocufflink.blue/api/websocket