mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-08 16:28:36 +01:00
chore: Overwrite nubus liveness probe with password-reset check
This commit is contained in:
@@ -11,4 +11,9 @@ nubusUmcServer:
|
|||||||
tcpSocket: ~
|
tcpSocket: ~
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
- "true"
|
- "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()
|
||||||
|
|||||||
Reference in New Issue
Block a user