fix(deconz): Breaking change port to new common (#8790)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  #8752

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Stavros Kois 2023-05-06 14:09:00 +03:00 committed by GitHub
parent 02a22714de
commit 14ea546f09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 40 deletions

View File

@ -3,7 +3,7 @@ appVersion: "2.22.00"
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 11.1.2 version: 12.6.6
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. 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.
home: https://truecharts.org/charts/stable/deconz home: https://truecharts.org/charts/stable/deconz
icon: https://truecharts.org/img/hotlink-ok/chart-icons/deconz.png icon: https://truecharts.org/img/hotlink-ok/chart-icons/deconz.png
@ -22,7 +22,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/deconz - https://github.com/truecharts/charts/tree/master/charts/stable/deconz
- https://github.com/dresden-elektronik/deconz-rest-plugin - https://github.com/dresden-elektronik/deconz-rest-plugin
- https://github.com/marthoc/docker-deconz - https://github.com/marthoc/docker-deconz
version: 10.0.16 version: 11.0.0
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media

View File

@ -1,2 +1,7 @@
env: workload:
DECONZ_DEVICE: 0 main:
podSpec:
containers:
main:
env:
DECONZ_DEVICE: 0

View File

@ -1 +1 @@
{{ include "tc.common.loader.all" . }} {{ include "tc.v1.common.loader.all" . }}

View File

@ -4,29 +4,35 @@ image:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
securityContext: securityContext:
readOnlyRootFilesystem: false container:
runAsNonRoot: false readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
podSecurityContext: workload:
runAsUser: 0 main:
runAsGroup: 0 podSpec:
containers:
secretEnv: main:
DECONZ_VNC_PASSWORD: "" securityContext:
capabilities:
env: add:
# -- Override the location where deCONZ looks for the RaspBee/Conbee device. - NET_BIND_SERVICE
# Example: /dev/ttyUSB0 env:
DECONZ_DEVICE: "" DECONZ_WEB_PORT: "{{ .Values.service.main.ports.main.port }}"
DECONZ_UPNP: 0 DECONZ_WS_PORT: "{{ .Values.service.websocket.ports.websocket.port }}"
DECONZ_START_VERBOSE: 0 DECONZ_VNC_PORT: "{{ .Values.service.vnc.ports.vnc.port }}"
# -- Enable VNC access to the container to view the deCONZ ZigBee mesh DECONZ_UID: "{{ .Values.securityContext.container.PUID }}"
DECONZ_VNC_MODE: 1 DECONZ_GID: "{{ .Values.securityContext.pod.fsGroup }}"
DECONZ_WEB_PORT: "{{ .Values.service.main.ports.main.port }}" # -- Override the location where deCONZ looks for the RaspBee/Conbee device.
DECONZ_WS_PORT: "{{ .Values.service.websocket.ports.websocket.port }}" # Example: /dev/ttyUSB0
DECONZ_VNC_PORT: "{{ .Values.service.vnc.ports.vnc.port }}" DECONZ_DEVICE: ""
DECONZ_UID: "{{ .Values.security.PUID }}" DECONZ_UPNP: 0
DECONZ_GID: "{{ .Values.podSecurityContext.fsGroup }}" DECONZ_START_VERBOSE: 0
# -- Enable VNC access to the container to view the deCONZ ZigBee mesh
DECONZ_VNC_MODE: 1
DECONZ_VNC_PASSWORD: ""
service: service:
main: main:
@ -51,17 +57,6 @@ persistence:
enabled: true enabled: true
mountPath: "/opt/deCONZ" mountPath: "/opt/deCONZ"
# -- 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
portal: portal:
enabled: true open:
enabled: true