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

DO328-42: RHT1784001 - bad indentation

XMLWordPrintable

    • en-US (English)

      URL: https://rol.redhat.com/rol/app/courses/do328-2.0/pages/ch03s07
      Reporter RHNID: carias@redhat.com
      Section: 7 - Lab: Observing an OpenShift Service Mesh
      Language: en-US (English)
      Workaround: the correct indentation is:
      ...output omitted...
      template:
      metadata:
      annotations:
      sidecar.istio.io/inject: "true"
      prometheus.io/scrape: "true"
      prometheus.io/port: "8080"
      prometheus.io/scheme: "http"
      ...output omitted...

      Description: In step 8.2 the annotations to be added are at the same tabulation level as the sidecar.istio.io, which is fine, but not at the same level of "annotations".

      When pasting the prometheus annotations the indentation mistake is clear.

      The correct indentation looks like:

       

       

              rht-acomabon Alejandro Coma (Inactive)
              carias@redhat.com Carlos Arias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: