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

DO180-567: RHT1950271 - yq tool in the lab is v3, with mayor differences with latest v4

XMLWordPrintable

    • en-US (English)

      URL: https://role.rhu.redhat.com/rol-rhu/app/courses/do180-4.12/pages/ch02s04
      Reporter RHNID: carias@redhat.com
      Section: 4 - Guided Exercise: Inspect Kubernetes Resources
      Language: en-US (English)||||||||
      Workaround:

      Description: should we call out the versions as there are some major breaking changes from v3 to v4 of the yq tool? 

      This came up when trying to use the command:{{}}
      {{}}
      [user@host ~]$
      oc get pods -o yaml | yq r - 'items[0].status.podIP'

      *{{}}*which will fail for yq v4. 

       

       

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

              Created:
              Updated:
              Resolved: