Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-12-15 01:55:05 +00:00
parent 397f5fb702
commit 90caaf5a33
11 changed files with 2253 additions and 0 deletions

View File

@ -0,0 +1,99 @@
**Important:**
*for the complete changelog, please refer to the website*
## [home-assistant-18.0.17](https://github.com/truecharts/charts/compare/home-assistant-18.0.16...home-assistant-18.0.17) (2022-12-15)
### Chore
- update container image tccr.io/truecharts/home-assistant to v2022.12.6
## [home-assistant-18.0.16](https://github.com/truecharts/charts/compare/home-assistant-18.0.15...home-assistant-18.0.16) (2022-12-14)
### Chore
- update container image tccr.io/truecharts/home-assistant to v2022.12.5
## [home-assistant-18.0.15](https://github.com/truecharts/charts/compare/home-assistant-18.0.14...home-assistant-18.0.15) (2022-12-13)
### Chore
- update helm general non-major
## [home-assistant-18.0.14](https://github.com/truecharts/charts/compare/home-assistant-18.0.13...home-assistant-18.0.14) (2022-12-10)
## [home-assistant-18.0.13](https://github.com/truecharts/charts/compare/home-assistant-18.0.12...home-assistant-18.0.13) (2022-12-08)
### Chore
- update container image tccr.io/truecharts/home-assistant to v2022.12.0
## [home-assistant-18.0.12](https://github.com/truecharts/charts/compare/home-assistant-18.0.11...home-assistant-18.0.12) (2022-12-05)
### Chore
- update helm general non-major
## [home-assistant-18.0.11](https://github.com/truecharts/charts/compare/home-assistant-18.0.10...home-assistant-18.0.11) (2022-12-01)
## [home-assistant-18.0.11](https://github.com/truecharts/charts/compare/home-assistant-18.0.10...home-assistant-18.0.11) (2022-12-01)
## [home-assistant-18.0.11](https://github.com/truecharts/charts/compare/home-assistant-18.0.10...home-assistant-18.0.11) (2022-12-01)
## [home-assistant-18.0.11](https://github.com/truecharts/charts/compare/home-assistant-18.0.10...home-assistant-18.0.11) (2022-12-01)
## [home-assistant-18.0.11](https://github.com/truecharts/charts/compare/home-assistant-18.0.10...home-assistant-18.0.11) (2022-12-01)
## [home-assistant-18.0.11](https://github.com/truecharts/charts/compare/home-assistant-18.0.10...home-assistant-18.0.11) (2022-12-01)
## [home-assistant-18.0.11](https://github.com/truecharts/charts/compare/home-assistant-18.0.10...home-assistant-18.0.11) (2022-12-01)
## [home-assistant-18.0.11](https://github.com/truecharts/charts/compare/home-assistant-18.0.10...home-assistant-18.0.11) (2022-12-01)
## [home-assistant-18.0.11](https://github.com/truecharts/charts/compare/home-assistant-18.0.10...home-assistant-18.0.11) (2022-12-01)

View File

@ -0,0 +1,35 @@
apiVersion: v2
appVersion: "2022.12.6"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.0.7
- condition: postgresql.enabled
name: postgresql
repository: https://charts.truecharts.org/
version: 11.0.11
deprecated: false
description: home-assistant App for TrueNAS SCALE
home: https://truecharts.org/docs/charts/stable/home-assistant
icon: https://truecharts.org/img/hotlink-ok/chart-icons/home-assistant.png
keywords:
- home-assistant
- hass
- homeassistant
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: home-assistant
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/home-assistant
- https://github.com/home-assistant/home-assistant
- https://github.com/cdr/code-server
type: application
version: 18.0.17
annotations:
truecharts.org/catagories: |
- home-automation
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,108 @@
# home-assistant
home-assistant App for TrueNAS SCALE
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
This readme is just an automatically generated general guide on installing our Helm Charts and Apps.
For more information, please click here: [home-assistant](https://truecharts.org/docs/charts/stable/home-assistant)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Source Code
* <https://github.com/truecharts/charts/tree/master/charts/stable/home-assistant>
* <https://github.com/home-assistant/home-assistant>
* <https://github.com/cdr/code-server>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://charts.truecharts.org/ | postgresql | 8.0.122 |
| https://library-charts.truecharts.org | common | 10.9.4 |
## Installing the Chart
### TrueNAS SCALE
To install this Chart on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Installing-an-App).
### Helm
To install the chart with the release name `home-assistant`
```console
helm repo add TrueCharts https://charts.truecharts.org
helm repo update
helm install home-assistant TrueCharts/home-assistant
```
## Uninstall
### TrueNAS SCALE
**Upgrading, Rolling Back and Uninstalling the Chart**
To upgrade, rollback or delete this Chart from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Upgrade-rollback-delete-an-App).
### Helm
To uninstall the `home-assistant` deployment
```console
helm uninstall home-assistant
```
## Configuration
### Helm
#### Available Settings
Read through the values.yaml file. It has several commented out suggested values.
Other values may be used from the [values.yaml](https://github.com/truecharts/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/truecharts/library-charts/tree/main/charts/common).
#### Configure using the command line
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install home-assistant \
--set env.TZ="America/New York" \
TrueCharts/home-assistant
```
#### Configure using a yaml file
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install home-assistant TrueCharts/home-assistant -f values.yaml
```
#### Connecting to other charts
If you need to connect this Chart to other Charts on TrueNAS SCALE, please refer to our [Linking Charts Internally](https://truecharts.org/docs/manual/SCALE%20Apps/linking-apps) quick-start guide.
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/Important-MUST-READ).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,9 @@
## [home-assistant-18.0.17](https://github.com/truecharts/charts/compare/home-assistant-18.0.16...home-assistant-18.0.17) (2022-12-15)
### Chore
- update container image tccr.io/truecharts/home-assistant to v2022.12.6

View File

@ -0,0 +1,8 @@
home-assistant App for TrueNAS SCALE
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/stable/home-assistant](https://truecharts.org/docs/charts/stable/home-assistant)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can!

Binary file not shown.

View File

@ -0,0 +1,160 @@
image:
repository: tccr.io/truecharts/home-assistant
pullPolicy: IfNotPresent
tag: 2022.12.6@sha256:17e1b8d84fc8cd30767cb5874973a90ddf8a4ddaf776bf636dbdcec1e5eaf848
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
main:
port: 8123
targetPort: 8123
initContainers:
init:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
command: ["/config/init/init.sh"]
volumeMounts:
- name: init
mountPath: "/config/init"
- name: config
mountPath: "/config"
# # Enable devices to be discoverable
# hostNetwork: true
# # When hostNetwork is true set dnsPolicy to ClusterFirstWithHostNet
# dnsPolicy: ClusterFirstWithHostNet
# Enable a prometheus-operator servicemonitor
prometheus:
serviceMonitor:
enabled: false
# interval: 1m
# additionalLabels: {}
persistence:
config:
enabled: true
mountPath: "/config"
init:
enabled: "true"
mountPath: "/config/init"
readOnly: true
type: "custom"
volumeSpec:
configMap:
name: '{{ include "tc.common.names.fullname" . }}-init'
defaultMode: 0777
configmap:
init:
enabled: true
data:
init.sh: |-
#!/bin/sh
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
if grep -q http: "/config/configuration.yaml"; then
echo "configuration.yaml already contains http section"
else
cat /config/init/http.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
cat /config/init/http.default >> /config/configuration.yaml
fi
echo "Creating include files..."
for include_file in groups.yaml automations.yaml scripts.yaml scenes.yaml; do
if test -f "/config/$include_file"; then
echo "$include_file exists."
else
echo "$include_file does NOT exist."
touch "/config/$include_file"
fi
done
cd "/config" || echo "Could not change path to /config"
echo "Creating custom_components directory..."
mkdir "/config/custom_components" || echo "custom_components directory already exists"
echo "Changing to the custom_components directory..."
cd "/config/custom_components" || echo "Could not change path to /config/custom_components"
echo "Downloading HACS"
wget "https://github.com/hacs/integration/releases/latest/download/hacs.zip" || exit 0
if [ -d "/config/custom_components/hacs" ]; then
echo "HACS directory already exist, cleaning up..."
rm -R "/config/custom_components/hacs"
fi
echo "Creating HACS directory..."
mkdir "/config/custom_components/hacs"
echo "Unpacking HACS..."
unzip "/config/custom_components/hacs.zip" -d "/config/custom_components/hacs" >/dev/null 2>&1
echo "Removing HACS zip file..."
rm "/config/custom_components/hacs.zip"
echo "Installation complete."
configuration.yaml.default: |-
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
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 }}
http.default: |-
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.16.0.0/16
postgresql:
enabled: true
postgresqlUsername: home-assistant
postgresqlDatabase: home-assistant
existingSecret: "dbcreds"
influxdb:
enabled: false
architecture: standalone
database: home_assistant
authEnabled: false
persistence:
enabled: false
# storageClass: ""
#
portal:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,5 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}