Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-42797

cluster-compare fails: template "allowLabels" not defined

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.18
    • oc / cluster-compare
    • None
    • Critical
    • None
    • Telco kube-compare Sprint 260, Telco kube-compare Sprint 261
    • 2
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      kubectl cluster-compare fails:
          
      kubectl cluster-compare -v -r reference/telco-core/configuration/reference-crs-kube-compare/metadata.yaml -o json
      08:36:33  error: error occurred while trying to process resources: failed to constuct template: template: ClusterLogNS.yaml:9:17: executing "ClusterLogNS.yaml" at <{{template "allowLabels" (list .metadata.labels "pod-security.kubernetes.io")}}>: template "allowLabels" not defined
      
      

      Version-Release number of selected component (if applicable):

      kube-compare-artifacts-rhel9:v4.17
      main branch from https://github.com/openshift-kni/telco-reference.git

      How reproducible:

          100%

      Steps to Reproduce:

          1. Run cluster-compare against 4.18 Core cluster 
          2. Use binary from kube-compare-artifacts-rhel9:v4.17 container
          3. Use reference CRs from 'main' branch of https://github.com/openshift-kni/telco-reference.git repo     

      Actual results:

      cluster-compare fails    

      Expected results:

      cluster-compare succeeds

      Additional info:

          

            micosta@redhat.com Michele Tomaso Costa
            yprokule@redhat.com Yurii Prokulevych
            Yogesh Ahire Yogesh Ahire
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: