Skip to content

Commit

Permalink
remove hostnetwork
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k committed Apr 17, 2023
1 parent 9b6e835 commit 010ac69
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 33 deletions.
12 changes: 0 additions & 12 deletions library/ix-dev/community/homebridge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,5 @@

- This container runs as `root` user.

If host networking is enabled, you must disable mDNS on the host.
Without host networking enabled, you might experience **auto** discovery issues.

> For more advanced users, you can attach an external interface and update Homebridge
> configuration file, to use the external interface for mDNS.
When hostNetwork is enabled, NodePort service will switch to ClusterIP to avoid port conflicts.

## To disable mDNS in TrueNAS SCALE.

Navigate to **Network** -> **Global Configuration** -> **Settings**

- Uncheck `mDNS`
- Save
12 changes: 0 additions & 12 deletions library/ix-dev/community/homebridge/app-readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,5 @@

- This container runs as `root` user.

If host networking is enabled, you must disable mDNS on the host.
Without host networking enabled, you might experience **auto** discovery issues.

> For more advanced users, you can attach an external interface and update Homebridge
> configuration file, to use the external interface for mDNS.
When hostNetwork is enabled, NodePort service will switch to ClusterIP to avoid port conflicts.

## To disable mDNS in TrueNAS SCALE.

Navigate to **Network** -> **Global Configuration** -> **Settings**

- Uncheck `mDNS`
- Save
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hbNetwork:
webPort: 30000

hbConfig:
enableAvahi: false
enableAvahi: true
additionalEnvs:
- name: HOMEBRIDGE_CONFIG_UI_THEME
value: blue
5 changes: 0 additions & 5 deletions library/ix-dev/community/homebridge/questions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ questions:
max: 65535
required: true
default: 30000
- variable: hostNetwork
label: Host Network
schema:
type: boolean
default: true

- variable: scaleExternalInterface
description: Add External Interfaces
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ workload:
primary: true
type: Deployment
podSpec:
hostNetwork: {{ .Values.hbNetwork.hostNetwork }}
hostNetwork: false
containers:
homebridge:
enabled: true
Expand Down
3 changes: 1 addition & 2 deletions library/ix-dev/community/homebridge/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ hbStorage:

hbNetwork:
webPort: 30000
hostNetwork: false

scaleExternalInterface: []

hbConfig:
enableAvahi: true
enableAvahi: false
additionalEnvs: []

0 comments on commit 010ac69

Please sign in to comment.