mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-06 15:31:38 +01:00
Compare commits
4 Commits
trossner/t
...
sell/nubus
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
597b8d944f | ||
|
|
b8036439d7 | ||
|
|
b48241dd38 | ||
|
|
2fbe43a1f8 |
@@ -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 }}
|
||||
|
||||
23
helmfile/apps/nubus/values-nubus-custom.yaml.gotmpl
Normal file
23
helmfile/apps/nubus/values-nubus-custom.yaml.gotmpl
Normal 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
|
||||
Reference in New Issue
Block a user