From e7fe157959bcee3eab3ba9fc66b520c897070682 Mon Sep 17 00:00:00 2001 From: adcg Date: Fri, 18 Jun 2021 18:18:32 +0200 Subject: [PATCH] fix(98): Update configuration for liveness and readiness probe in spring boot 2.3.2 Signed-off-by: Guillaume Audic --- src/main/resources/application.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 49bace1..b35d881 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -16,7 +16,7 @@ spring: multipart: max-file-size: 5MB max-request-size: 5MB - + springdoc: api-docs.enabled: false @@ -32,7 +32,9 @@ management: exposure: include: 'info,health,prometheus' health: - probes: + livenessstate: + enabled: true + readynessstate: enabled: true endpoint: prometheus: @@ -45,4 +47,6 @@ management: include: - readinessState - clamaAvConnection + probes: + enabled: true