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 disabledetcd
parent
48f20eac07
commit
7b8b11111e
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue