-
Notifications
You must be signed in to change notification settings - Fork 522
Closed
Labels
Description
Service bindings are well-supported by popular frameworks like Spring Boot and Quarkus and provide an easy and standardized way of connecting to a service.
According to #831, service binding support for the operator maintained by Red Hat was introduced in 0.7.3. The operator is now deprecated in favor of the reference implementation of the spec, which recently released v1.0.0.
According to the spec, a provisioned service (e.g. the mongodb StatefulSet) should define a status.binding.name field referencing a Secret with the following structure:
apiVersion: v1
kind: Secret
metadata:
...
type: servicebinding.io/mongodb
stringData:
type: "mongodb"
host: ...
port: ...
uri: ...
...The operator could create this secret automatically along with the current ones.