Skip to content

Support Service Binding runtime #1625

@gbaso

Description

@gbaso

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions