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:
Stavros Kois
2024-01-31 10:16:44 +02:00
committed by GitHub
parent 795dbd0234
commit e025f217b1
4 changed files with 12 additions and 2 deletions

View File

@@ -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'

View File

@@ -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

View File

@@ -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: ""

View File

@@ -20,6 +20,9 @@ workload:
readOnlyRootFilesystem: false
capabilities:
add:
- CHOWN
- DAC_OVERRIDE
- FOWNER
- NET_BIND_SERVICE
- NET_RAW
fixedEnv: