You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 28, 2023. It is now read-only.
I want to use service binding to consume a RESTful service exposed by another microservice that's part of my application. The consuming service is written using MicroProfile REST client, which has a specific naming convention for environment variables. So I want to map the attributes of the service I consume to an environment variable with a specific name. Today I can work around it like this:
i.e. by manually referencing the secret created by the operator. However, this is relying on the details of the how the secret is created, and requires extra configuration.
It's likely that other frameworks could have similar requirements for naming of environment variables.
Describe the solution you'd like
It would be much more convenient if I could map the environment variable as part of consuming the service, perhaps something like this: