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

YAML definition format issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • DO480 - ACM2.4-en-5-20221130
    • DO480
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL:  
      Reporter RHNID: rhn-gls-rtaniguchi
      Section title: Deploying and Configuring the Compliance Operator for Multiple Clusters Using RHACM
      Language:         en-US                                                               

      Issue description

      The ScanSettingBiding example provided has issues with indentation (from kind: line on) and has a comment that must be a callout instead of a comment as it wraps the line (- complianceType: musthave # this template creates ScanSettingBinding:e8) . This issue can be easily identified on the PDF.

      Also, the code after the Essential 8 (E8) Policy Scan (title) is also with a comment that must be part of the callouts or removed.

       

      In the object-definition section in the same sub-section there is a comment that wraps the content to multiple lines:

      (- complianceType: musthave # this template checks if scan has completed by checking the status field)

       
      object-templates:- complianceType: mustnothave # this template reports the results for scan suite: e8 by looking at ComplianceCheckResult CRs

      Steps to reproduce:

      NA

      Workaround:

       

      Expected result:

      Remove all excess indentation and add the comment as a callout (

      1. this template creates ScanSettingBinding:e8

      )

            gls-curriculum-ocp-core@redhat.com PTL - OCP Platform Team
            rhn-gls-rtaniguchi Ricardo Taniguchi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: