2022-03-06 14:58:40 +00:00
|
|
|
image:
|
2023-11-17 10:22:57 +00:00
|
|
|
repository: openhab/openhab
|
2022-03-06 14:58:40 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2024-03-24 00:33:35 +00:00
|
|
|
tag: 4.1.2@sha256:73b9ba282b79faccd0f036f7d857ea0ace2834a1105fd0c6c87d58979c4d72bb
|
2022-03-06 14:58:40 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2023-04-30 19:15:20 +00:00
|
|
|
protocol: http
|
2022-03-06 14:58:40 +00:00
|
|
|
port: 10169
|
|
|
|
https:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
https:
|
2023-04-30 19:15:20 +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
|
|
|
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
|
2023-04-30 19:15:20 +00:00
|
|
|
type: configmap
|
|
|
|
objectName: init
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-04-30 19:15:20 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
type: tcp
|
|
|
|
readiness:
|
|
|
|
type: tcp
|
|
|
|
startup:
|
|
|
|
type: tcp
|
|
|
|
env:
|
|
|
|
OPENHAB_HTTP_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
|
|
OPENHAB_HTTPS_PORT: "{{ .Values.service.https.ports.https.port }}"
|