Skip to content

Support Service Binding runtime #323

@gbaso

Description

@gbaso

Ported from mongodb/mongodb-kubernetes-operator#1625

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 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions