Red Hat Bugzilla – Bug 1274203
[RFE] Support Checkboxes, Radio Buttons, Drop-down lists in Openshift Templates
Last modified: 2017-05-17 01:49:57 EDT
Description of problem:
The templating functionality included in Openshift v3 is a useful feature but lacks the power/flexibility that would make it great.
As an Openshift Systems Admininstrator, I would like to be able to offer a more complex set of templates for use by my various project teams. In the present version I can create Text Box controls which can have a default value and translate into a variable to be used elsewhere in the template.
I would like better easier to use forms for other teams to fill out. My urgent need is to provide multiple choice options that the developers choose from. Some could be better expressed by checker boxes: -
Client Technologies to include in Tomcat Application Image: -
| | Oracle DBA Driver
| | AppDynamics Agent
| | Terracotta Client
| | Spring Libs
In the case of some options, I would like to offer multiple choices for the value as either radio buttons or a select pull down list. e.g. :-
Version of Terracotta Client Required: -
(or a pull down list)
Java Selection: -
O JRE 8
O JRE 7
The values selected for these controls could be mapped to variables - but in the case of the checker boxes the system would need to cater for an list of values.
There are various other common form elements, date/time pickers, multi-select list, colour picker, that could be useful in the creation of productive templates.
Taking the idea a little further, then it would be extremely useful to be able to add logic to the template definition so that controls can be hidden or disabled based on the values of other controls, or that the data selections available can be changed.
e.g. If the '| | Oracle driver' checker box is selected then include the new form element text box 'Oracle Connection String: __________________' become visible and require a value.
e.g. If the 'Java Selection is 8' then only offer Terracotta version 3.7.10 in the pull down list of terracotta versions.
Easy - does not exist.