console: Regression since OpenShift 3: it is no longer possible to input multiline template parameters
Hi, folks! I’ve migrated a template I used to have under OpenShift 3 to a new cluster running OpenShift 4 (https://openshift-console.osci.io). I’m facing a difference in the OpenShift Console Web UI that I can’t seem to work around.
Some of my template parameters have to be multiline (in particular, a private key that ends up in a secret). In OS3 I used to go to the catalog, click on my template, and each <input> field in the configuration tab would have a double-sided arrow icon with a hint on hover saying “Expand to enter multiple lines of content. This is required if you need to include newline characters.”. I would click it and paste that private key with as many lines as necessary.
Now, in OS4, I can’t find such expansion capability. It only allows one-line inputs for template parameters. Any chance I’m overlooking something? Is it a bug?
I’ve found an old ticket about OS3 from when that the original “expand” feature was implemented: https://bugzilla.redhat.com/show_bug.cgi?id=1312444#c4. The respective PR is https://github.com/openshift/origin-web-console/pull/739.
The following screenshot demonstrates what I face in OS4:
The next screenshots are how it used to be implemented in OS3:
This is also filed @ https://issues.redhat.com/browse/OCPBUGS-23080.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (7 by maintainers)
Commits related to this issue
- OCPBUGS-23080; #13317: Add multiline support to template instantiation — committed to logonoff/openshift-console by logonoff 2 years ago
- OCPBUGS-23080; #13317: Use `InputGroup` for field action — committed to logonoff/openshift-console by logonoff 2 years ago
- OCPBUGS-23080; #13317: Add multiline support to template instantiation — committed to openshift-cherrypick-robot/console by logonoff 2 years ago
- OCPBUGS-23080; #13317: Use `InputGroup` for field action — committed to openshift-cherrypick-robot/console by logonoff 2 years ago
- OCPBUGS-23080; #13317: Add multiline support to template instantiation — committed to openshift-cherrypick-robot/console by logonoff 2 years ago
- OCPBUGS-23080; #13317: Use `InputGroup` for field action — committed to openshift-cherrypick-robot/console by logonoff 2 years ago
But just to be sure: there’s no public release in neither stream and I need to wait, right?
/assign @logonoff