Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hawkBit to Application Version 0.5.0 #549

Merged
merged 10 commits into from
Oct 7, 2024
4 changes: 2 additions & 2 deletions charts/hawkbit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
# SPDX-License-Identifier: EPL-2.0
---
apiVersion: v2
version: 1.6.0
appVersion: "0.3.0M6-mysql"
version: 1.7.0
appVersion: "0.5.0-mysql"
description: |
Eclipse hawkBit™ is a domain independent back-end framework for rolling out software updates
to constrained edge devices as well as more powerful controllers and gateways connected to
Expand Down
6 changes: 3 additions & 3 deletions charts/hawkbit/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
{{- if .Values.env.springDatasourceUrl }}
value: "{{ .Values.env.springDatasourceUrl }}"
{{- else }}
value: "jdbc:mysql://{{ if .Values.mysql.enabled }}{{ .Release.Name }}-mysql{{ else }}{{ .Values.env.springDatasourceHost }}{{ end }}:3306/{{ .Values.env.springDatasourceDb }}"
value: "jdbc:mariadb://{{ if .Values.mysql.enabled }}{{ .Release.Name }}-mysql{{ else }}{{ .Values.env.springDatasourceHost }}{{ end }}:3306/{{ .Values.env.springDatasourceDb }}"
{{- end }}
- name: "SPRING_APPLICATION_JSON"
valueFrom:
Expand Down Expand Up @@ -70,13 +70,13 @@ spec:
protocol: TCP
livenessProbe:
httpGet:
path: /VAADIN/themes/hawkbit/favicon.ico
path: /swagger-ui/index.html
port: http
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
readinessProbe:
httpGet:
path: /VAADIN/themes/hawkbit/favicon.ico
path: /swagger-ui/index.html
port: http
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
Expand Down
12 changes: 8 additions & 4 deletions charts/hawkbit/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ metadata:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "hawkbit.fullname" . }}:{{ .Values.service.port }}']
- name: curl
image: curlimages/curl
command: ['curl']
args: [
"-X", "GET",
"-u", "{{ .Values.config.application.spring.security.user.name }}:{{ trimPrefix "{noop}" .Values.config.secrets.spring.security.user.password }}",
"http://{{ include "hawkbit.fullname" . }}:{{ .Values.service.port }}/rest/v1/userinfo"
]
restartPolicy: Never
4 changes: 2 additions & 2 deletions charts/hawkbit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

image:
repository: "hawkbit/hawkbit-update-server"
tag: 0.3.0M6-mysql
tag: 0.5.0-mysql
pullPolicy: IfNotPresent

replicaCount: 1
Expand All @@ -41,7 +41,7 @@ updateStrategy:
type: Recreate

nameOverride: ""
fullnameOverride: ""
fullnameOverride: "eclipse-hawkbit"
calohmn marked this conversation as resolved.
Show resolved Hide resolved

service:
type: ClusterIP
Expand Down
Loading