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

Support binding for operators which don't have annotations in the CSV/CRDs

XMLWordPrintable

    • App Services Sprint 174

      Description
      This feature aims to support operators which don't have any metadata in the CSV. The proposal here is to bind all sub-resources ( ones have "ownerReferences" ) of the backing service CR - by populating the binding secret with information from routes, services, configmaps, secrets owned by the backing service CR.

      This would be triggered by an explicit API option in the CR spec called "detectBindingResources : true"

       

      Acceptance Criteria

      1. Automatically detect Services, Routes and Configmaps owned by the backing service CR.
      2. Populate the binding secret with the information from these objects.
      3. The keys in the binding secret should follow the same pattern as https://kubernetes.io/docs/concepts/services-networking/service/#environment-variables .
      4. [mentioning the obvious] The keys in the binding secret should take into account the binding prefix
      5. The fields in a route that should be bound are open to discussion. For others, it is obvious.

       

      Notes:

      In case of services, this is automatically done by Kubernetes
      https://kubernetes.io/docs/concepts/services-networking/service/#environment-variables 

      However, we will be also be explicitly doing it by honoring the binding prefix as well as by making the SBR controller react to changes in the service in order to redeploy pods.

       

          There are no Sub-Tasks for this issue.

              akshinde Akash Shinde (Inactive)
              shbose Shoubhik Bose
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: