When using spring and spring managed transactions never mess around with the hibernate.current_session_context_class property UNLESS you are using JTA.
If you upgrade your spring-boot version to >= 2.3.0 you can enable the liveness and readiness probes by adding:
management:
health:
probes:
enabled: true