New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing configuration metadata for "management.endpoint.health.probes.add-additional-paths" #30562
Conversation
health.probes.add-additional-paths" in spring boot actuator autoconfigure. Closes spring-projectsgh-30562
e666ea1
to
f5ee8b4
Compare
health.probes.add-additional-paths' in spring boot actuator autoconfigure. Closes spring-projectsgh-30562
f5ee8b4
to
6199db3
Compare
The configuration metadata of "management.endpoint.health.probes. add-additional-paths" is missing. Closes spring-projectsgh-30562
6199db3
to
2ea8fe3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. I've left a comment for your consideration.
I believe this change was introduced in 2.6.x
so the current base branch doesn't look right.
@@ -54,6 +54,12 @@ | |||
"description": "Whether to enable liveness and readiness probes.", | |||
"defaultValue": false | |||
}, | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should come before the previous entries as we sort them by alphabetical order.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I have rearranged it.
The configuration metadata of "management.endpoint.health.probes. add-additional-paths" is missing. Closes spring-projectsgh-30562
2ea8fe3
to
26e17e7
Compare
@snicoll You are right. I changed the base branch to |
@luozhenyu thank you for the quick follow-up and for making your first contribution to Spring Boot. |
According to the documentation of spring-boot-actuator, we can define "management.endpoint.health.probes.add-additional-paths=true" to enable
liveness
andreadiness
. However, the configuration metadata for this is missing.https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#actuator.endpoints.kubernetes-probes