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

Define criteria for detecting bindable services

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Undefined
    • None
    • None
    • Service Binding
    • None
    • AppSvc Sprint 207

    Description

      Story (Required)

      As a developer working on integrating Service Binding into my tools/system, I would like to
      to discover services that can be bound using Service Binding operator

      Background (Required)

      Various dev tools and dev console would like to render to users services that can be then bound to applications using Service Binding operator.

      In Scope

      • SBO logic that actively discovers and marks a service as bindable
      • SBO logic embeddable in 3rd party codebases, so that bindable service can be detected on demand

      Approach(Required)

      • Watch for CustomResourceDefinition changes, and try to find servicebinding annotatons, or figure out if CRD defines a provisioned services. If CRD is owned by a ClusterServiceVersion, check if service binding descriptors are defined. In case of match, set an annotation on CRD indicating that CRs are potentially bindable:

      service.binding/bindable: true

      • Provide a custom CRD with a cluster-scoped instance listing all bindable GVKs (GroupVersionKind):
      apiVersion: binding.operators.coreos.com/v1alpha1
      kind: BindableKinds
      metadata: 
        name: bindable-kinds
      status: 
      
        - group: foo
          version: v1alpha1
          kind: Service
        - group: bar
          version: v1beta1
          kind: Service
      

      Acceptance Criteria

      • acceptance tests demonstrating service discovery
      • code example showing how to embed the logic into 3rd party codebase
      • INVEST Checklist

      Dependencies identified
      Blockers noted and expected delivery timelines set
      Design is implementable
      Acceptance criteria agreed upon
      Story estimated

      Legend

      Unknown
      Verified
      Unsatisfied

      Attachments

        Issue Links

          Activity

            People

              pedjak@gmail.com Predrag Knezevic (Inactive)
              shbose Shoubhik Bose
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: