2022-03-06 14:58:40 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/openhab
|
|
|
|
pullPolicy: IfNotPresent
|
2023-01-10 22:32:15 +00:00
|
|
|
tag: 3.4.1@sha256:f03178d57d0dddddc172d004b9a2445716ba1ca86bc2394f600e309a67fd55bd
|
2022-03-06 14:58:40 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2022-07-09 19:29:01 +00:00
|
|
|
protocol: HTTP
|
2022-03-06 14:58:40 +00:00
|
|
|
port: 10169
|
|
|
|
https:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
https:
|
2022-07-09 19:29:01 +00:00
|
|
|
protocol: HTTPS
|
2022-03-06 14:58:40 +00:00
|
|
|
enabled: true
|
|
|
|
port: 10170
|
|
|
|
|
2022-06-07 17:41:19 +00:00
|
|
|
configmap:
|
|
|
|
init:
|
|
|
|
enabled: true
|
|
|
|
data:
|
|
|
|
enable-console-logging.sh: |
|
|
|
|
echo 'Enabling console logging.'
|
|
|
|
sed -i -E 's|(<AppenderRef ref="OSGI"/>).*|\1<AppenderRef ref="STDOUT"/>|' /openhab/userdata/etc/log4j2.xml
|
|
|
|
|
2022-03-06 14:58:40 +00:00
|
|
|
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"
|
2022-06-07 17:41:19 +00:00
|
|
|
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" .) }}'
|
2022-08-08 21:25:02 +00:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|