Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/paketo-buildpacks/environment-variables

A Cloud Native Buildpack that embeds environment variables into an image
https://github.com/paketo-buildpacks/environment-variables

all-applications cnb environment-variables utilities

Last synced: 2 days ago
JSON representation

A Cloud Native Buildpack that embeds environment variables into an image

Awesome Lists containing this project

README

        

# `gcr.io/paketo-buildpacks/environment-variables`

The Paketo Buildpack for Environment Variables is a Cloud Native Buildpack that embeds environment variables into an image.

## Behavior

This buildpack will participate all the following conditions are met

* Any environment variable matching `$BPE_*` is set

The buildpack will do the following:

* Modify the launch environment using the `$BPE_*` envrionment variables, as described in the Configuration section below

## Configuration

| Environment Variable | Description |
| ---------------------- | ---------------------------------------------------------- |
| `$BPE_` | set `$NAME` to value (same as override) |
| `$BPE_APPEND_` | append value to `$NAME` |
| `$BPE_DEFAULT_` | set default value for `$NAME` |
| `$BPE_DELIM_` | set delimeter to use when appending or prepending to $NAME |
| `$BPE_OVERRIDE_` | set `$NAME` to value |
| `$BPE_PREPEND_` | prepend value to `$NAME` |

The default delimiter is an empty string, i.e. there is no default delimiter.

## License

This buildpack is released under version 2.0 of the [Apache License][a].

[a]: http://www.apache.org/licenses/LICENSE-2.0