image: repository: tccr.io/truecharts/openhab pullPolicy: IfNotPresent tag: 3.4.2@sha256:bb3fdf98084426d18ff82b3e576a93c88570e9b037066db5b25fd9d661aaf3d1 service: main: ports: main: protocol: HTTP port: 10169 https: enabled: true ports: https: protocol: HTTPS enabled: true port: 10170 configmap: init: enabled: true data: enable-console-logging.sh: | echo 'Enabling console logging.' sed -i -E 's|().*|\1|' /openhab/userdata/etc/log4j2.xml securityContext: readOnlyRootFilesystem: false runAsNonRoot: false podSecurityContext: runAsUser: 0 runAsGroup: 0 env: OPENHAB_HTTP_PORT: "{{ .Values.service.main.ports.main.port }}" OPENHAB_HTTPS_PORT: "{{ .Values.service.https.ports.https.port }}" persistence: config: enabled: true mountPath: "/openhab/conf" addons: enabled: true mountPath: "/openhab/addons" userdata: enabled: true mountPath: "/openhab/userdata" init: enabled: true mountPath: /etc/cont-init.d/enable-console-logging.sh subPath: enable-console-logging.sh type: custom volumeSpec: configMap: name: '{{ printf "%v-init" (include "tc.common.names.fullname" .) }}' portal: enabled: true