Skip to content

Enable users to inject "all" binding information as environment variables. #136

@sbose78

Description

@sbose78

The spec has strong opinions on projecting binding information as "files". There's no way for a user of ServiceBinding to express the desire to Get me everything as environment variables.

While I understand the rationale behind everything being made available as "files" 📁 , a lot of app developers use frameworks/languages which are very sticky towards "environment variables" example, Golang devs.

I would propose we have a new field in the ServiceBinding CRD/API called

  • .spec.bindAs: files|env or
  • .spec.bindAsFiles: true or
  • .spec.bindAsEnv : true

In other words, it would be good to have something that would enable ServiceBinding users to have everything as environment variables too, instead of having to express the desire for the same with individual keys.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions