https://github.com/buildpacks/spec/blob/master/extensions/bindings.md https://application-stacks.github.io/service-binding-specification/
Comment From: spencergibb
There is a similar issue in https://github.com/spring-cloud/spring-cloud-kubernetes/issues/231
Comment From: mbhave
See also https://github.com/spring-cloud/spring-cloud-bindings
Comment From: philwebb
Issue #43882 also discusses spring-cloud-bindings
and we should consider if we can merge functionality from that project with whatever we do here.
Comment From: ziqin
What k8s service bindings provide seems to share a similar role with the ConnectionDetails
in Spring Boot. I believe the future implementation in Spring Boot could consider bridging them together.
Currently, the spring-cloud-bindings doc suggests creating a BindingsPropertiesProcessor
to assign values read from bindings
to properties
. Maybe another possible approach is to create ConnectionDetails
beans directly from bindings
in Spring Boot, just like the solution for Docker Compose and TestContainers. I'm not sure whether this method will work with GraalVM native images.