Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/paketo-buildpacks/environment-variables
- Owner: paketo-buildpacks
- License: apache-2.0
- Created: 2020-07-17T03:37:03.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-09T13:42:54.000Z (13 days ago)
- Last Synced: 2024-12-09T14:43:37.229Z (13 days ago)
- Topics: all-applications, cnb, environment-variables, utilities
- Language: Go
- Homepage:
- Size: 349 KB
- Stars: 25
- Watchers: 7
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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