Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-9101

DO280-612: RHT1829151 suggestion to improve cmd output

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • DO280 - OCP4.10-en-2-20220811
    • DO280
    • None
    • ROLE
    • en-US (English)

      URL: https://rol.redhat.com/rol/app/courses/do280-4.10/pages/ch08s04
      Reporter RHNID: ssanyal@redhat.com
      Section: 4 - Guided Exercise: Managing Workloads and Operators
      Language: en-US (English)
      Workaround:

      Description: as stated by user on snow ticket : RHT1829151 

      w.r.t https://rol.redhat.com/rol/app/courses/do280-4.10/pages/ch08s04

       

      "Description: DO280, Version 4.10, Exercise 8.4, Step 6.3. The output of the vulnerabilities is not per line as shown in the example. It is just a mess without new lines. Suggestion - Use the following jsonpath parameter with the range function and a "\n" character instead to output each vulnerability to a new line: -o jsonpath='{range .items[*].spec.features[*].vulnerabilities[*]}

      {.name}

      {"\n"}

      {end}

      ' "

       

              gls-curriculum-ocp-core@redhat.com PTL - OCP Platform Team
              ssanyal@redhat.com samik sanyal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: