XMLWordPrintable

Details

    • 0
    • 0% 0%

    Description

      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

      1. Open the OpenShift console and select the + icon in the top right corner.
      2. 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

      Attachments

        Issue Links

          Activity

            People

              sdoyle@redhat.com Serena Nichols
              cjerolim Christoph Jerolimov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: