Merge pull request 'fix(hydra): use same liveness URL as ory's helm' (#63) from fix/hydra_liveness_probe_url into unstable

Reviewed-on: #63
Reviewed-by: wpetit <wpetit@cadoles.com>
Reviewed-by: pcaseiro <pcaseiro@cadoles.com>
This commit is contained in:
pcaseiro 2025-03-07 13:52:29 +01:00
commit a26b8aafe1
2 changed files with 23 additions and 1 deletions

View File

@ -31,6 +31,7 @@ configMapGenerator:
- URLS_LOGOUT=http://hydra-logout-app/logout
- HYDRA_SERVE_ALL_ARGS=--dev
- HYDRA_DATABASE_MAX_CONN="10"
- SERVE_ADMIN_REQUEST_LOG_DISABLE_FOR_HEALTH="true"
- LOG_LEVEL=info
replacements:

View File

@ -46,10 +46,31 @@ spec:
- wget
- --spider
- -q
- http://127.0.0.1:4444/.well-known/openid-configuration
- http://127.0.0.1:4445/health/alive
failureThreshold: 6
periodSeconds: 10
timeoutSeconds: 10
readinessProbe:
exec:
command:
- wget
- --spider
- -q
- http://127.0.0.1:4445/health/ready
failureThreshold: 6
periodSeconds: 10
timeoutSeconds: 10
startupProbe:
exec:
command:
- wget
- --spider
- -q
- http://127.0.0.1:4445/health/ready
failureThreshold: 60
successThreshold: 1
periodSeconds: 1
timeoutSeconds: 1
ports:
- containerPort: 4444
name: hydra-public