Skip to content

Commit 8ed1633

Browse files
committed
update openhab cloud to latest version
- includes a health endpoint now Signed-off-by: Andreas Bräu <[email protected]>
1 parent 4e7734f commit 8ed1633

File tree

3 files changed

+21
-14
lines changed

3 files changed

+21
-14
lines changed

charts/ohcloud/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ dependencies:
1212
repository: oci://registry-1.docker.io/bitnamicharts
1313
condition: mongodb.enabled
1414

15-
version: 1.0.16
16-
appVersion: "9a2324b"
15+
version: 1.1.0
16+
appVersion: "a8138a3"

charts/ohcloud/templates/ ohcloudapp-configmap.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ data:
1515
"logger" : {
1616
"type": "console"
1717
},
18+
"healthEndpoint": {
19+
"enabled": ${ENABLE_HEALTH_ENDPOINT}
20+
},
1821
"subDomainCookies": {{ .Values.openhabcloudApp.features.subdomainCookies }}
1922
},
2023
"express":{
@@ -27,8 +30,8 @@ data:
2730
"passphrase": "${APN_PASSPHRASE}"
2831
},
2932
"gcm" : {
30-
31-
"password": "${GCM_PASSWORD}"
33+
"senderId": "${GCM_SENDER_ID}",
34+
"serviceFile" : "${GCM_SERVICE_FILE}"
3235
},
3336
"ifttt" : {
3437
"iftttChannelKey" : "key",

charts/ohcloud/values.yaml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ openhabcloudApp:
2020
podSecurityContext: {}
2121
# fsGroup: 2000
2222

23-
securityContext: {}
24-
# capabilities:
25-
# drop:
26-
# - ALL
27-
# readOnlyRootFilesystem: true
28-
# runAsNonRoot: true
29-
# runAsUser: 1000
23+
securityContext:
24+
capabilities:
25+
drop:
26+
- ALL
27+
readOnlyRootFilesystem: true
28+
runAsNonRoot: true
29+
runAsUser: 1000
3030

3131
service:
3232
enabled: true
@@ -43,7 +43,11 @@ openhabcloudApp:
4343
value: ""
4444
- name: "APN_PASSPHRASE"
4545
value: ""
46-
- name: "GCM_PASSWORD"
46+
- name: "ENABLE_HEALTH_ENDPOINT"
47+
value: false
48+
- name: "GCM_SENDER_ID"
49+
value: ""
50+
- name: "GCM_SERVICE_FILE"
4751
value: ""
4852
- name: "MONGODB_URI"
4953
value: ""
@@ -112,11 +116,11 @@ openhabcloudApp:
112116

113117
livenessProbe:
114118
httpGet:
115-
path: /
119+
path: /health
116120
port: http
117121
readinessProbe:
118122
httpGet:
119-
path: /
123+
path: /health
120124
port: http
121125

122126
# Additional volumes on the output Deployment definition.

0 commit comments

Comments
 (0)