Commit new App releases for TrueCharts
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
parent
2f54af466f
commit
4126a24b83
|
@ -1,4 +0,0 @@
|
|||
|
||||
<a name="home-assistant-8.1.1"></a>
|
||||
### [home-assistant-8.1.1](https://github.com/truecharts/apps/compare/home-assistant-8.1.0...home-assistant-8.1.1) (2021-10-13)
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
<a name="home-assistant-8.1.2"></a>
|
||||
### [home-assistant-8.1.2](https://github.com/truecharts/apps/compare/home-assistant-8.1.1...home-assistant-8.1.2) (2021-10-13)
|
||||
|
|
@ -6,4 +6,4 @@ dependencies:
|
|||
repository: https://truecharts.org/
|
||||
version: 3.0.14
|
||||
digest: sha256:0c1ecfaee7e9cdd1d1971984ab8e22f3a74fb994b546e555904277f24bdf01f7
|
||||
generated: "2021-10-13T10:34:59.904904592Z"
|
||||
generated: "2021-10-13T12:23:23.188286205Z"
|
|
@ -29,4 +29,4 @@ sources:
|
|||
- https://github.com/home-assistant/home-assistant
|
||||
- https://github.com/cdr/code-server
|
||||
type: application
|
||||
version: 8.1.1
|
||||
version: 8.1.2
|
|
@ -8,15 +8,17 @@ metadata:
|
|||
data:
|
||||
init.sh: |-
|
||||
#!/bin/sh
|
||||
echo "postgresql password: {{ ( printf "%v%v:%v@%v-%v:%v/%v?client_encoding=utf8" "postgresql://" .Values.postgresql.postgresqlUsername .Values.postgresql.Password .Release.Name "postgresql" "5432" .Values.postgresql.postgresqlDatabase ) | quote }}"
|
||||
if test -f "/config/configuration.yaml"; then
|
||||
echo "configuration.yaml exists."
|
||||
if grep -q recorder: "/config/configuration.yaml"; then
|
||||
echo "configuration.yaml already contains recorder"
|
||||
else
|
||||
cat /config/init/recorder.default >> /config/configuration.yaml
|
||||
fi
|
||||
else
|
||||
echo "configuration.yaml does NOT exist."
|
||||
cp /config/init/configuration.yaml.default /config/configuration.yaml
|
||||
cat /config/init/recorder.default >> /config/configuration.yaml
|
||||
fi
|
||||
configuration.yaml.default: |-
|
||||
# Configure a default setup of Home Assistant (frontend, api, etc)
|
||||
|
@ -31,8 +33,12 @@ data:
|
|||
# automation: !include automations.yaml
|
||||
# script: !include scripts.yaml
|
||||
# scene: !include scenes.yaml
|
||||
recorder.default: |-
|
||||
|
||||
recorder:
|
||||
purge_keep_days: 30
|
||||
commit_interval: 3
|
||||
db_url: {{ ( printf "%s?client_encoding=utf8" ( .Values.postgresql.url.complete | trimAll "\"" ) ) | quote }}
|
||||
|
||||
|
||||
{{- end -}}
|
Loading…
Reference in New Issue