fix(hydra): use same liveness URL as ory's helm #63

Merged
pcaseiro merged 3 commits from fix/hydra_liveness_probe_url into unstable 2025-03-07 13:52:31 +01:00
2 changed files with 23 additions and 1 deletions

View File

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

View File

@ -46,10 +46,31 @@ spec:
- wget - wget
- --spider - --spider
- -q - -q
- http://127.0.0.1:4444/.well-known/openid-configuration - http://127.0.0.1:4445/health/alive
failureThreshold: 6 failureThreshold: 6
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 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: ports:
- containerPort: 4444 - containerPort: 4444
name: hydra-public name: hydra-public