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

Support JSONPath Syntax in CustomEnvVar

XMLWordPrintable

      Currently in ServiceBindingRequest we support Go Template syntax in CustomEnvVar attribute. That gives the users the ability to create their own environment variables, using template to compose custom values.

      Supporting Go Template syntax is a common trait in Kubernetes ecosystem, where it's also common support JSONPath syntax as well. Both Go Templates and JSONPath will produce the same outcomes.

      Based on Issue-352 we have a request to support JSONPath in our operator as well.

      Action Items

      • Research how Go Templates and JSONPath are employed by kubectl/oc;
      • Discuss how the approach will take place in ServiceBindingOperator, keeping in mind both template languages will have the same support;
      • Update documentation and relevant examples;
      • Upstream pull-request definition of done.

      Acceptance Criteria

      Ensure we are able to use a jsonpath equivalent of a complex go-template based customEnvVar
      https://github.com/redhat-developer/service-binding-operator/issues/352

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

              Created:
              Updated:
              Resolved: