[deconz] Migrate to common v3 (#1017)

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-06-16 21:19:41 +02:00 committed by GitHub
parent 5cba3de4cf
commit 690639ef33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 98 additions and 65 deletions

View File

@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 2.10.03
appVersion: 2.12.01
description: deCONZ is an easy to use control software, with which you can set up and control Zigbee networks of any size without further programming effort.
name: deconz
version: 4.4.0
version: 5.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- deconz
@ -20,4 +20,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.1.1

View File

@ -1,6 +1,6 @@
# deconz
![Version: 4.4.0](https://img.shields.io/badge/Version-4.4.0-informational?style=flat-square) ![AppVersion: 2.10.03](https://img.shields.io/badge/AppVersion-2.10.03-informational?style=flat-square)
![Version: 5.0.0](https://img.shields.io/badge/Version-5.0.0-informational?style=flat-square) ![AppVersion: 2.12.01](https://img.shields.io/badge/AppVersion-2.12.01-informational?style=flat-square)
deCONZ is an easy to use control software, with which you can set up and control Zigbee networks of any size without further programming effort.
@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.1.1 |
## TL;DR
@ -76,23 +76,23 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env.DECONZ_VNC_MODE | int | `1` | |
| env.DECONZ_VNC_PORT | int | `5900` | |
| env.DECONZ_WEB_PORT | int | `80` | |
| env.DECONZ_WS_PORT | int | `443` | |
| env.TZ | string | `"UTC"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"marthoc/deconz"` | |
| image.tag | string | `"amd64-2.10.03"` | |
| ingress.enabled | bool | `false` | |
| persistence.config.enabled | bool | `false` | |
| persistence.config.mountPath | string | `"/root/.local/share/dresden-elektronik/deCONZ"` | |
| service.additionalPorts[0].name | string | `"websocket"` | |
| service.additionalPorts[0].port | int | `443` | |
| service.additionalPorts[1].name | string | `"vnc"` | |
| service.additionalPorts[1].port | int | `5900` | |
| service.port.port | int | `80` | |
| strategy.type | string | `"Recreate"` | |
| affinity | object | `{}` | Affinity constraint rules to place the Pod on a specific node. [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) |
| env | object | See below | environment variables. See [image docs](https://github.com/marthoc/docker-deconz/blob/master/README.md) for more details. |
| env.DECONZ_DEVICE | string | `nil` | Override the location where deCONZ looks for the RaspBee/Conbee device. |
| env.DECONZ_VNC_MODE | int | `1` | Enable VNC access to the container to view the deCONZ ZigBee mesh |
| env.DECONZ_VNC_PASSWORD | object | `{}` | If VNC is enabled (DECONZ_VNC_MODE=1) you can change the default password "changeme" using a Secret. |
| env.DECONZ_VNC_PORT | int | `5900` | VNC server listen port |
| env.DECONZ_WEB_PORT | int | `80` | Web UI listen port |
| env.DECONZ_WS_PORT | int | `443` | Websocket listen port |
| env.TZ | string | `"UTC"` | Set the container timezone |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"marthoc/deconz"` | image repository |
| image.tag | string | `"2.12.01"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| persistence.usb | object | See values.yaml | Configure a hostPathMount to mount a USB device in the container. |
| securityContext.privileged | bool | `nil` | Privileged securityContext may be required if USB controller is accessed directly through the host machine |
| service | object | See values.yaml | Configures service settings for the chart. |
## Changelog
@ -100,6 +100,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [4.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.1.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.1.1/charts/stable/common/) for the up-to-date values.
- Changed image tag to `2.12.01`.
### [3.0.0]
#### Migration !breaking change!

View File

@ -9,6 +9,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [5.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.1.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.1.1/charts/stable/common/) for the up-to-date values.
- Changed image tag to `2.12.01`.
### [3.0.0]
#### Migration !breaking change!

View File

@ -6,64 +6,81 @@
#
image:
# -- image repository
repository: marthoc/deconz
# -- image tag
tag: 2.12.01
# -- image pull policy
pullPolicy: IfNotPresent
tag: amd64-2.10.03
strategy:
type: Recreate
# See https://github.com/marthoc/docker-deconz/blob/master/README.md for more settings for e.g. debug.
# -- 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
## Path to mounted device inside the container.
# DECONZ_DEVICE: /dev/conbee
## Do not set the VNC password here directly - use a Secret, see envValueFrom below.
# DECONZ_VNC_PASSWORD: changeme
# -- Override the location where deCONZ looks for the RaspBee/Conbee device.
DECONZ_DEVICE: # /dev/ttyUSB0
# -- Enable VNC access to the container to view the deCONZ ZigBee mesh
DECONZ_VNC_MODE: 1
# -- Web UI listen port
DECONZ_WEB_PORT: 80
# -- Websocket listen port
DECONZ_WS_PORT: 443
# -- VNC server listen port
DECONZ_VNC_PORT: 5900
# -- If VNC is enabled (DECONZ_VNC_MODE=1) you can change the default password "changeme" using a Secret.
DECONZ_VNC_PASSWORD:
# envFrom:
# secretKeyRef:
# name: deconz-vnc-password
# key: password
## If VNC is enabled (DECONZ_VNC_MODE) you can change the default password "changeme" using a Secret.
# envValueFrom:
# DECONZ_VNC_PASSWORD:
# secretKeyRef:
# name: deconz-vnc-password
# key: password
## Privileged context is required to mount devices in container using volumes.
# securityContext:
# privileged: true
## Path to device on the host.
# additionalVolumes:
# - name: conbee
# hostPath:
# path: /dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_00000000-if00-port0
## Path to mounted device inside the container.
# additionalVolumeMounts:
# - name: conbee
# mountPath: /dev/conbee
## The node having the dongle attached should be labeled accordingly.
# nodeSelector:
# feature.node.kubernetes.io/custom-deconz: "true"
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
port:
port: 80
additionalPorts:
- name: websocket
port: 443
- name: vnc
port: 5900
main:
ports:
http:
port: 80
websocket:
enabled: true
port: 443
vnc:
enabled: true
port: 5900
ingress:
enabled: false
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
securityContext:
# -- (bool) Privileged securityContext may be required if USB controller is accessed directly through the host machine
privileged: # true
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
config:
enabled: false
mountPath: /root/.local/share/dresden-elektronik/deCONZ
# -- Configure a hostPathMount to mount a USB device in the container.
# @default -- See values.yaml
usb:
enabled: false
type: hostPath
hostPath: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2400981-if00
mountPath: /dev/ttyUSB0
# -- Affinity constraint rules to place the Pod on a specific node.
# [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity)
affinity: {}
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: app
# operator: In
# values:
# - zigbee-controller