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

Accept service aliases in custom environment variable template context

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Service Binding
    • None
    • 3
    • App Services Sprint 184, Sprint 185

      Services referenced by an alias should be supported in custom environment variables.

      The `id` field should be present in the service selector:

      spec:
          backingServiceSelector:
              id: db_testing
      

      And be available in the template context to be consumed as:

      {{ .db_testing.status.dbConnection }}
      

            isuttonl Igor Sutton (Inactive)
            isuttonl Igor Sutton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: