fix(homarr): patch probes via PostSync hook

Chart v8.23.0 (homarr-labs/charts) doesn't support probe customization.
All attempts failed:
- probes.liveness.spec: ignored
- controller.probes: ignored
- livenessProbe.enabled: ignored

Solution: PostSync hook Job patches deployment after Helm sync.

Probe config:
- Liveness: 60s initial, 30s period, 5s timeout
- Readiness: 45s initial, 15s period, 5s timeout

App needs 30-45s for DB migrations, Redis, icon cache (27k+ icons).
This commit is contained in:
Story Crater Bot
2026-07-22 10:55:33 -07:00
parent e2c246cfcd
commit ce7a8bad81
3 changed files with 93 additions and 24 deletions
+2 -22
View File
@@ -1,5 +1,5 @@
# Homarr landing page
# Chart version: 8.23.0 from homarr-labs/charts
# Homarr landing page - minimal config
# Probes patched via PostSync hook (chart doesn't support customization)
image:
repository: ghcr.io/homarr-labs/homarr
@@ -8,26 +8,6 @@ image:
replicaCount: 1
# Override probe timing - app needs 30-45s to fully initialize
controller:
probes:
liveness:
enabled: true
custom: false
spec:
initialDelaySeconds: 60
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 3
readiness:
enabled: true
custom: false
spec:
initialDelaySeconds: 45
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists