mirror of
https://github.com/truenas/charts.git
synced 2026-04-24 02:20:15 +08:00
home-assistant - fix errors during init (#2106)
* home-assistant - fix some startup errors * bump version * set default hostNet to false * hide webport when hostnet is enabled
This commit is contained in:
@@ -3,7 +3,7 @@ description: Home Assistant is an open source home automation that puts local co
|
||||
annotations:
|
||||
title: Home Assistant
|
||||
type: application
|
||||
version: 2.0.2
|
||||
version: 2.0.3
|
||||
apiVersion: v2
|
||||
appVersion: 2024.1.5
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
|
||||
@@ -10,6 +10,12 @@ runAsContext:
|
||||
uid: 999
|
||||
description: Postgres runs as a non-root user.
|
||||
capabilities:
|
||||
- name: CHOWN
|
||||
description: Home Assistant is able to change file ownership.
|
||||
- name: FOWNER
|
||||
description: Home Assistant is able to change file ownership.
|
||||
- name: DAC_OVERRIDE
|
||||
description: Home Assistant is able to bypass file permissions.
|
||||
- name: NET_BIND_SERVICE
|
||||
description: Home Assistant is able to bind to privileged ports.
|
||||
- name: NET_RAW
|
||||
|
||||
@@ -77,6 +77,7 @@ questions:
|
||||
schema:
|
||||
type: int
|
||||
default: 20810
|
||||
show_if: [["hostNetwork", "=", false]]
|
||||
min: 9000
|
||||
max: 65535
|
||||
required: true
|
||||
@@ -84,7 +85,7 @@ questions:
|
||||
label: Host Network
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
default: false
|
||||
|
||||
- variable: haID
|
||||
label: ""
|
||||
|
||||
@@ -20,6 +20,9 @@ workload:
|
||||
readOnlyRootFilesystem: false
|
||||
capabilities:
|
||||
add:
|
||||
- CHOWN
|
||||
- DAC_OVERRIDE
|
||||
- FOWNER
|
||||
- NET_BIND_SERVICE
|
||||
- NET_RAW
|
||||
fixedEnv:
|
||||
|
||||
Reference in New Issue
Block a user