From b8036439d71661acf99590c135863aca2f3e0e4c Mon Sep 17 00:00:00 2001 From: Lilly Sell Date: Thu, 26 Jun 2025 13:34:26 +0200 Subject: [PATCH] fix: Fix probe timings for nubus ums-umc-server --- helmfile/apps/nubus/values-nubus-custom.yaml.gotmpl | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/helmfile/apps/nubus/values-nubus-custom.yaml.gotmpl b/helmfile/apps/nubus/values-nubus-custom.yaml.gotmpl index eae51583..5193d166 100644 --- a/helmfile/apps/nubus/values-nubus-custom.yaml.gotmpl +++ b/helmfile/apps/nubus/values-nubus-custom.yaml.gotmpl @@ -2,12 +2,9 @@ # SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS" # SPDX-License-Identifier: Apache-2.0 nubusUmcServer: -# extraVolumes: -# - name: custom-liveness-probe -# extraVolumeMounts: -# - name: custom-liveness-probe probes: - liveness: + liveness: &probe + periodSeconds: 600 # every 10 minutes tcpSocket: ~ exec: command: @@ -17,3 +14,9 @@ nubusUmcServer: 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