Bug 1374750
| Summary: | Pass large JSON Dictionary of environment variables to oc new-app template | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Matthew Robson <mrobson> |
| Component: | RFE | Assignee: | Ben Parees <bparees> |
| Status: | CLOSED ERRATA | QA Contact: | Wenjing Zheng <wzheng> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3.0 | CC: | aos-bugs, bparees, erich, jokerman, mbarrett, mmccomas, sspeiche, tdawson |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-12 19:06:44 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
if we do this i think it's much like likely we'd accept a parameter file consistent of key=value pairs, rather than a json blob on the command line. would that be acceptable for this RFE? This feature has been implemented in this card (https://trello.com/c/BMuLvOny/968-5-supply-oc-new-app-and-oc-process-parameter-list-env-vars-via-a-file-app-creation) and qe has tested/accepted it.so moving this bug VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0884 |
3. What is the nature and description of the request? As a user, I want to be able to create a dynamic template with a significant number of environment variables and pass those variable values as a pre-configured JSON dictionary to the template without repeating '-e' dozens of times. Example, oc new-app -p = {["param1": value, "param2": "value2"....]} 4. Why does the customer need this? (List the business requirements here) To be able to pre-create parameter models for templated applications and pass them in with ease 5. How would the customer like to achieve this? (List the functional requirements here) Create a JSON Dictionary that can be checked in and stored along side application source code and passed into OCP during a build from a template 6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented. Create a template with an app that specifies a large number of environment variables within it's deploymentconfig and pass in a set of variables to override as a single JSON dictionary. 7. Is there already an existing RFE upstream or in Red Hat Bugzilla? Request to pass in a parameter list as a file. Could work well in tandem to pass in a structured JSON dictionary versus a flat set of K/V pairs. https://trello.com/c/BMuLvOny/968-3-supply-oc-new-app-and-oc-process-parameter-list-via-a-file 10. List any affected packages or components. ?