Compare commits

...

4 Commits

Author SHA1 Message Date
Lilly Sell
597b8d944f fix: Trigger ums-umc-server restart immediately after first probe failure 2025-06-26 17:04:07 +02:00
Lilly Sell
b8036439d7 fix: Fix probe timings for nubus ums-umc-server 2025-06-26 13:34:26 +02:00
Lilly Sell
b48241dd38 chore: Overwrite nubus liveness probe with password-reset check 2025-06-26 09:54:32 +02:00
Lilly Sell
2fbe43a1f8 chore: Overwrite nubus liveness probe with dummy probe 2025-06-26 09:50:59 +02:00
2 changed files with 24 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ releases:
version: "{{ .Values.charts.nubus.version }}"
values:
- "values-nubus.yaml.gotmpl"
- "values-nubus-custom.yaml.gotmpl"
{{- range .Values.customization.release.ums }}
- {{ . }}
{{- end }}

View File

@@ -0,0 +1,23 @@
# SPDX-FileCopyrightText: 2024 Zentrum für Digitale Souveränität der Öffentlichen Verwaltung (ZenDiS) GmbH
# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
# SPDX-License-Identifier: Apache-2.0
nubusUmcServer:
probes:
liveness: &probe
periodSeconds: 600 # every 10 minutes
failureThreshold: 1 # trigger restart after the first probe failure
tcpSocket: ~
exec:
command:
- "python3"
- "-c"
- |
import requests
data = {"options": {"username": "b1-pw-test", "method": "email" }}
requests.post("http://localhost:8090/command/passwordreset/send_token", json=data).raise_for_status()
startup:
<<: *probe
initialDelaySeconds: 30
periodSeconds: 30
failureThreshold: 5
successThreshold: 1