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
|
image: git.pyrocufflink.net/packages/kitchen:master
|
||||||
args:
|
args:
|
||||||
- --host=0.0.0.0
|
- --host=0.0.0.0
|
||||||
|
- --timeout-graceful-shutdown=0
|
||||||
env:
|
env:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: America/Chicago
|
value: America/Chicago
|
||||||
- name: SSL_CERT_FILE
|
|
||||||
value: /usr/lib/python3.10/site-packages/certifi/cacert.pem
|
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
|
@ -49,9 +48,6 @@ spec:
|
||||||
mountPath: /kitchen.yaml
|
mountPath: /kitchen.yaml
|
||||||
subPath: config.yaml
|
subPath: config.yaml
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: tzinfo
|
|
||||||
mountPath: /usr/share/zoneinfo
|
|
||||||
readOnly: true
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
secret:
|
secret:
|
||||||
|
|
|
@ -61,7 +61,7 @@ spec:
|
||||||
projects: *projects_calendar
|
projects: *projects_calendar
|
||||||
|
|
||||||
mqtt:
|
mqtt:
|
||||||
hostname: homeassistant.pyrocufflink.blue
|
host: mqtt.pyrocufflink.blue
|
||||||
port: 8883
|
port: 8883
|
||||||
tls: true
|
tls: true
|
||||||
username: kitchen
|
username: kitchen
|
||||||
|
@ -78,6 +78,8 @@ spec:
|
||||||
homeassistant_sensor_humidity_percent{entity="sensor.outdoor_humidity"}
|
homeassistant_sensor_humidity_percent{entity="sensor.outdoor_humidity"}
|
||||||
wind_speed: >-
|
wind_speed: >-
|
||||||
homeassistant_sensor_unit_m_per_s{entity="sensor.wind_speed"}
|
homeassistant_sensor_unit_m_per_s{entity="sensor.wind_speed"}
|
||||||
|
pool: >-
|
||||||
|
homeassistant_sensor_temperature_celsius{entity="sensor.pool_sensor_temperature"}
|
||||||
|
|
||||||
homeassistant:
|
homeassistant:
|
||||||
url: wss://homeassistant.pyrocufflink.blue/api/websocket
|
url: wss://homeassistant.pyrocufflink.blue/api/websocket
|
||||||
|
|
Loading…
Reference in New Issue