Uploaded image for project: 'Service Binding'
  1. Service Binding
  2. APPSVC-305

[SBO] Support multiple backing services

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • OpenShift 4.4
    • None
    • Service Binding
    • None
    • App Services Sprint 179, App Services Sprint 180

      Objective

      Support generation of intermediate binding secret from multiple backing services:

      apiVersion: apps.openshift.io/v1alpha1
      kind: ServiceBindingRequest
      metadata: 
        name: binding-request
        namespace: service-binding-demo
      spec: 
        applicationSelector: 
          resourceRef: nodejs-rest-http-crud
          group: apps
          version: v1
          resource: deployments
        backingServiceSelectors: 
          - group: postgresql.baiju.dev
            version: v1alpha1
            kind: Database
            resourceRef: db-demo 
          - group: another.group.dev
            version: v1alpha1
            kind: KafkaUser
            resourceRef: my-user-kafka-user 
      

      The above API is not final, but needs to convery the message appropriately. 

      Specific Use case

      Knative is sourcing events from Kafka. Kafka is managed by Strimzi Operator, and the objective of this story is to provide service-biding-operator support for binding Kafka resources.

      To bind with Knative types we will need to collect data from multiple resources managed by Strimzi. The interesting resources are related to bootstrap-servers and topic metadata.
       

      Acceptance Criteria

      1. Deploy workload
      2. Deploy 2 operator backed services
      3. Create SBR with two backing services.
      4. Ensure binding secret has all relevant information from both backing services. 

            isuttonl Igor Sutton (Inactive)
            olemefer Otávio Fernandes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: