fix(deconz): correctly link gid and uid (#1988)

* fix(deconz): correctly link gid and uid

* bump

* cleanup
This commit is contained in:
Stavros Kois 2022-02-28 23:35:03 +02:00 committed by GitHub
parent 926933ed91
commit f0b2ae4afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 13 deletions

View File

@ -22,7 +22,7 @@ name: deconz
sources:
- https://github.com/dresden-elektronik/deconz-rest-plugin
- https://github.com/marthoc/docker-deconz
version: 6.0.24
version: 6.0.25
annotations:
truecharts.org/catagories: |
- media

View File

@ -97,6 +97,12 @@ questions:
type: dict
attrs:
# Include{fixedEnv}
- variable: PUID
label: "PUID"
description: "Sets the PUID env var for LinuxServer.io (compatible) containers"
schema:
type: int
default: 568
- variable: DECONZ_DEVICE
label: "DECONZ_DEVICE"
description: "Override the location where deCONZ looks for the RaspBee/Conbee device"
@ -109,6 +115,18 @@ questions:
schema:
type: int
default: 1
- variable: DECONZ_UPNP
label: "DECONZ_UPNP"
description: "Set this option to 0 to disable uPNP"
schema:
type: int
default: 0
- variable: DECONZ_START_VERBOSE
label: "DECONZ_START_VERBOSE"
description: "Set this option to 0 to disable verbose of start script, set to 1 to enable set -x logging"
schema:
type: int
default: 0
# Include{containerConfig}

View File

@ -1,9 +1,6 @@
image:
# -- image repository
repository: tccr.io/truecharts/deconz
# -- image tag
tag: v2.14.01@sha256:c3607b4e64b50acb52240d1b6e6798ccd132578fb3f065544be642709638b1c2
# -- image pull policy
pullPolicy: IfNotPresent
securityContext:
@ -17,23 +14,21 @@ podSecurityContext:
secret:
DECONZ_VNC_PASSWORD: ""
# -- environment variables. See [image docs](https://github.com/marthoc/docker-deconz/blob/master/README.md) for more details.
# @default -- See below
env:
# -- Set the container timezone
TZ: UTC
PUID: 568
# -- Override the location where deCONZ looks for the RaspBee/Conbee device.
DECONZ_DEVICE: # /dev/ttyUSB0
DECONZ_UPNP: 0
DECONZ_START_VERBOSE: 0
# -- Enable VNC access to the container to view the deCONZ ZigBee mesh
DECONZ_VNC_MODE: 1
DECONZ_WEB_PORT: "{{ .Values.service.main.ports.main.port }}"
DECONZ_WS_PORT: "{{ .Values.service.websocket.ports.websocket.port }}"
DECONZ_VNC_PORT: "{{ .Values.service.vnc.ports.vnc.port }}"
DECONZ_UID: 568
DECONZ_GID: 568
DECONZ_UID: "{{ .Values.env.PUID }}"
DECONZ_GID: "{{ .Values.podSecurityContext.fsGroup }}"
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
main:
ports:
@ -52,8 +47,6 @@ service:
enabled: true
port: 10002
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
config:
enabled: true