Bug 1326525 - [RFE] Make it easier to add "custom" Environment Variables to Images
Summary: [RFE] Make it easier to add "custom" Environment Variables to Images
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-12 22:33 UTC by Eric Jones
Modified: 2016-05-25 13:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-13 18:13:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1326523 0 low CLOSED [RFE] Add max_allowed_packet as an Environment Variable to the MySQL Images 2021-02-22 00:41:40 UTC

Description Eric Jones 2016-04-12 22:33:02 UTC
- What is the nature and description of the request? 
As an developer I require the ability to control Environment Variables on certain images (MySQL, and potentially other DB images) so I can more easily add the variables that _I_ use to make them persistent.

- Why does the customer need this? (List the business requirements here) 
So they can more rapidly modify the pod persistent Environment Variables and add variables that we have not thought to include for that specific image.

- How would the customer like to achieve this? (List the functional requirements here) 
S2I or someother method to modify the image on the fly.

- For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
Follow through with adding a new variable and then use `oc env` to add a value to it in the deployed pod.

- Is there already an existing RFE upstream or in Red Hat Bugzilla?
Not that I could find.

Comment 2 Dan McPherson 2016-04-13 18:13:33 UTC
The existing mechanisms to do this are:

- Set the config through environment vars for entries that have already been made configurable
- Setup dockerbuilds within OpenShift to rebuild an additional layer with your config changes.  You can use an image change trigger to automate this.
- Mount in config using a volume

And you can feel free to open bugs to get additional env var config options added.


Note You need to log in before you can comment on or make changes to this bug.