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