-
Feature Request
-
Resolution: Done
-
Undefined
-
None
Description of problem:
As user of the OpenShift console I want to import multipart YAML files.
Like this one:
apiVersion: v1 kind: Namespace metadata: name: ns2 --- apiVersion: v1 kind: Namespace metadata: name: ns3
Prerequisites (if any, like setup, operators/versions):
None
Steps to Reproduce
- Open the OpenShift console and select the + icon in the top right corner.
- Enter the YAML files above and submit the form by clicking create
Actual results:
Resources are not created and I receive an error message:
Error parsing YAML: YAMLException: expected a single document in the stream, but found more
Expected results:
That both resource are created and was shown, maybe as an List of resources with links to open each individual resource.
Open questions:
- Should the console create each resource sequential to allow that the user easier to understand
- Should the console stop after the first error, should we show the list anyway and the error of the failing resource.
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
4.6
Additional info:
None
- duplicates
-
CONSOLE-1338 Add support for multiple documents when creating from YAML
- Closed
- links to