Skip to content

Commit

Permalink
change(homeassistant): switch to app-template
Browse files Browse the repository at this point in the history
  • Loading branch information
nold committed Jan 6, 2024
1 parent cd1b12c commit e7a8733
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 44 deletions.
6 changes: 3 additions & 3 deletions projects/homeassistant/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ config:

apps:
- name: homeassistant
chart: home-assistant
repoURL: https://charts.pree.dev
targetRevision: 1.21.1
chart: app-template
repo: bjw-s
targetRevision: 2.4.0
secrets:
- name: bucket
keys:
Expand Down
55 changes: 14 additions & 41 deletions projects/homeassistant/values/homeassistant.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,13 @@
image:
repository: homeassistant/home-assistant
tag: 2024.1

env:
TZ: Europe/Berlin
controllers:
main:
containers:
main:
image:
repository: homeassistant/home-assistant
tag: "2024.1"

influxdb:
enabled: false
auth:
createUserToken: true
user:
username: homeassistant
org: primary
bucket: primary
readUser:
username: grafana
writeUser:
username: homeassistant
existingSecret: influx
database: home_assistant
persistence:
enabled: true
size: 8Gi
env:
TZ: Europe/Berlin

ingress:
main:
Expand All @@ -33,41 +19,28 @@ ingress:
- host: hass.dc
paths:
- path: /
pathType: Prefix
service:
name: main
port: http
tls:
- hosts:
- hass.dc
secretName: hass-tls

metrics:
enabled: false
prometheusRule:
enabled: false
labels: {}
rules: []
serviceMonitor:
interval: 1m
labels: {}
scrapeTimeout: 30s

persistence:
config:
enabled: true
data:
enabled: true
type: persistentVolumeClaim
storageClass: local-path
accessMode: ReadWriteOnce
size: 1Gi

media:
enabled: true
type: hostPath
mountPath: /media
hostPath: /data/media
readOnly: true

postgresql:
enabled: false

securityContext:
privileged: false

Expand Down

0 comments on commit e7a8733

Please sign in to comment.