2024-10-01 18:08:29 -05:00
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: home-assistant
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-10-10 06:01:18 -05:00
|
|
|
version: 3.5.1
|
2024-10-01 18:08:29 -05:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjw-s
|
|
|
|
namespace: flux-system
|
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
strategy: rollback
|
|
|
|
retries: 3
|
|
|
|
dependsOn:
|
|
|
|
- name: rook-ceph-cluster
|
|
|
|
namespace: rook-ceph
|
|
|
|
- name: volsync
|
|
|
|
namespace: volsync-system
|
|
|
|
values:
|
|
|
|
controllers:
|
|
|
|
home-assistant:
|
|
|
|
annotations:
|
|
|
|
reloader.stakater.com/auto: "true"
|
|
|
|
containers:
|
|
|
|
app:
|
|
|
|
image:
|
|
|
|
repository: ghcr.io/onedr0p/home-assistant
|
2024-11-18 02:34:12 -06:00
|
|
|
tag: 2024.11.2@sha256:58df3d1169fb02ef2fb6f6cb2f2423abeb2142f89f3c0fd447cc983d63825c56
|
2024-10-01 18:08:29 -05:00
|
|
|
env:
|
|
|
|
TZ: America/Chicago
|
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: home-assistant-secret
|
|
|
|
securityContext:
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
readOnlyRootFilesystem: true
|
|
|
|
capabilities: { drop: ["ALL"] }
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 10m
|
|
|
|
limits:
|
|
|
|
memory: 2Gi
|
|
|
|
code-server:
|
|
|
|
image:
|
|
|
|
repository: ghcr.io/coder/code-server
|
2024-11-15 17:03:31 -06:00
|
|
|
tag: 4.95.2@sha256:51b9ff106f67bfe56aa88c7e63e7413276d0b509fb85290c3d361a38e97bfa8c
|
2024-10-01 18:08:29 -05:00
|
|
|
args: [
|
|
|
|
"--auth", "none",
|
|
|
|
"--user-data-dir", "/config/.vscode",
|
|
|
|
"--extensions-dir", "/config/.vscode",
|
|
|
|
"--port", "12321",
|
|
|
|
"/config"
|
|
|
|
]
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 10m
|
|
|
|
limits:
|
|
|
|
memory: 512Mi
|
|
|
|
defaultPodOptions:
|
|
|
|
securityContext:
|
|
|
|
runAsNonRoot: true
|
|
|
|
runAsUser: 568
|
|
|
|
runAsGroup: 568
|
|
|
|
fsGroup: 568
|
|
|
|
fsGroupChangePolicy: OnRootMismatch
|
|
|
|
seccompProfile: { type: RuntimeDefault }
|
|
|
|
service:
|
|
|
|
app:
|
|
|
|
controller: home-assistant
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 8123
|
|
|
|
code-server:
|
|
|
|
port: 12321
|
|
|
|
ingress:
|
|
|
|
app:
|
|
|
|
annotations:
|
|
|
|
className: internal-nginx
|
|
|
|
hosts:
|
|
|
|
- host: hass.jahanson.tech
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
service:
|
|
|
|
identifier: app
|
|
|
|
port: http
|
|
|
|
code-server:
|
|
|
|
annotations:
|
|
|
|
className: internal-nginx
|
|
|
|
hosts:
|
|
|
|
- host: hass-code.jahanson.tech
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
service:
|
|
|
|
identifier: app
|
|
|
|
port: code-server
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
existingClaim: home-assistant
|
|
|
|
globalMounts:
|
|
|
|
- path: /config
|
|
|
|
logs:
|
|
|
|
type: emptyDir
|
|
|
|
globalMounts:
|
|
|
|
- path: /config/logs
|
|
|
|
tts:
|
|
|
|
type: emptyDir
|
|
|
|
globalMounts:
|
|
|
|
- path: /config/tts
|
|
|
|
tmp:
|
|
|
|
type: emptyDir
|
|
|
|
globalMounts:
|
|
|
|
- path: /tmp
|