Skip to content

Commit f766511

Browse files
authored
Update hawkBit to Application Version 0.5.0 (#549)
* update image version fix readiness probes fix default jdbc driver Signed-off-by: Lukas Harzenetter <[email protected]> * update test to use access userinfo * use curl * add protocol to test * use quotes * try using fullname override * reformat curl * use values for creating admin request * remove name overide --------- Signed-off-by: Lukas Harzenetter <[email protected]>
1 parent 8806852 commit f766511

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

charts/hawkbit/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# SPDX-License-Identifier: EPL-2.0
1111
---
1212
apiVersion: v2
13-
version: 1.6.1
14-
appVersion: "0.3.0M6-mysql"
13+
version: 1.7.0
14+
appVersion: "0.5.0-mysql"
1515
description: |
1616
Eclipse hawkBit™ is a domain independent back-end framework for rolling out software updates
1717
to constrained edge devices as well as more powerful controllers and gateways connected to

charts/hawkbit/templates/deployment.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
{{- if .Values.env.springDatasourceUrl }}
4141
value: "{{ .Values.env.springDatasourceUrl }}"
4242
{{- else }}
43-
value: "jdbc:mysql://{{ if .Values.mysql.enabled }}{{ .Release.Name }}-mysql{{ else }}{{ .Values.env.springDatasourceHost }}{{ end }}:3306/{{ .Values.env.springDatasourceDb }}"
43+
value: "jdbc:mariadb://{{ if .Values.mysql.enabled }}{{ .Release.Name }}-mysql{{ else }}{{ .Values.env.springDatasourceHost }}{{ end }}:3306/{{ .Values.env.springDatasourceDb }}"
4444
{{- end }}
4545
- name: "SPRING_APPLICATION_JSON"
4646
valueFrom:
@@ -70,13 +70,13 @@ spec:
7070
protocol: TCP
7171
livenessProbe:
7272
httpGet:
73-
path: /VAADIN/themes/hawkbit/favicon.ico
73+
path: /swagger-ui/index.html
7474
port: http
7575
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
7676
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
7777
readinessProbe:
7878
httpGet:
79-
path: /VAADIN/themes/hawkbit/favicon.ico
79+
path: /swagger-ui/index.html
8080
port: http
8181
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
8282
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}

charts/hawkbit/templates/tests/test-connection.yaml

+8-4
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@ metadata:
1111
"helm.sh/hook": test-success
1212
spec:
1313
containers:
14-
- name: wget
15-
image: busybox
16-
command: ['wget']
17-
args: ['{{ include "hawkbit.fullname" . }}:{{ .Values.service.port }}']
14+
- name: curl
15+
image: curlimages/curl
16+
command: ['curl']
17+
args: [
18+
"-X", "GET",
19+
"-u", "{{ .Values.config.application.spring.security.user.name }}:{{ trimPrefix "{noop}" .Values.config.secrets.spring.security.user.password }}",
20+
"http://{{ include "hawkbit.fullname" . }}:{{ .Values.service.port }}/rest/v1/userinfo"
21+
]
1822
restartPolicy: Never

charts/hawkbit/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
image:
1717
repository: "hawkbit/hawkbit-update-server"
18-
tag: 0.3.0M6-mysql
18+
tag: 0.5.0-mysql
1919
pullPolicy: IfNotPresent
2020

2121
replicaCount: 1

0 commit comments

Comments
 (0)