We have a Spring Boot application that we just upgraded from Boot 2.5.6 to 2.6.0/2.6.1 and noticed that calling the actuator/info endpoint no longer returns custom info properties like it used to.
Here is some sample application.yaml config that we would expect to see:
info:
app.application-name: ${spring.application.name}
app.image-version: ${DOCKER_IMAGE_TAG:local}
Right now, we are only seeing the following response:
{
"git" : { },
"activeProfiles" : [ "local" ]
}
Note: not sure if this is related, but our app is still using spring-cloud-bootstrap. There is no actuator config inside the boostrap.yaml, though.
Comment From: wilkinsona
Have you enabled the env
info contributor?
Comment From: buyukim
🤦 Yeah, that fixed it. Sorry about that!