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

use of a deprecated syntax in kustomize

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • DO288 - RHOCP4.18-en-3-20250912
    • DO288
    • False
    • Hide

      None

      Show
      None
    • False
    • 6
    • en-US (English)

      Please fill in the following information:


      URL:  
      Reporter RHNID: bucknd
      Section Title:       Altering resources with configurations                                                                 

      Issue description

      Student guide says you can use commonLabels and commonAnnotations in a kustomization.yaml file. If you try and use commonLabels (commonAnnotations works with no problem) then you get the following error....

      If I change commonLabels to labels or even Labels then that fails with another error....

      If commonLabels has been deprecated we should not be using it. If there is a different syntax that we should be using then need to clarify what it is so that we can recommend to the student the correct recommended way of doing it. If this is a problem related to the difference between 'kustomize' and the oc -k option then maybe we just need to remove all mention of it from the guide

       

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              rht-eramirez Eduardo Ramirez
              bucknd David Bucknell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: