Skip to content

Commit eef10b1

Browse files
committed
feat: Enable Kubernetes liveness and readiness probes in actuator configuration
1 parent dceba9d commit eef10b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/resources/application.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ jwt.refresh-expiration=${JWT_REFRESH_EXPIRATION:604800000}
1616
# Actuator Configuration
1717
management.endpoints.web.exposure.include=health,info
1818
management.endpoint.health.show-details=always
19+
# Enable Kubernetes liveness/readiness probes (avoids external dependency checks in CI)
20+
management.endpoint.health.probes.enabled=true
21+
management.health.livenessstate.enabled=true
22+
management.health.readinessstate.enabled=true

0 commit comments

Comments
 (0)