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

[IBU][Doc] kustomization example shows {} instead of []

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.16.z
    • LCA operator
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      IN the following link: https://docs.openshift.com/container-platform/4.16/edge_computing/image_based_upgrade/preparing_for_image_based_upgrade/cnf-image-based-upgrade-generate-seed.html#cnf-image-based-upgrade-generate-seed-image_generate-seed

      There's the section:
      1.
      b.

      ii.
      It reads:

      If you have a kustomization.yaml that references one SiteConfig CR, remove your seed cluster’s SiteConfig CR from the kustomization.yaml and add the generators: {} line:
      
      
      apiVersion: kustomize.config.k8s.io/v1beta1
      kind: Kustomization
      
      generators: {}
      

      This appears to be wrong and should read be [] instead of {} in both appearances, i.e. :

      If you have a kustomization.yaml that references one SiteConfig CR, remove your seed cluster’s SiteConfig CR from the kustomization.yaml and add the generators: [] line:
      
      
      apiVersion: kustomize.config.k8s.io/v1beta1
      kind: Kustomization
      
      generators: []
      

              jche@redhat.com Jun Chen
              achuzhoy@redhat.com Alexander Chuzhoy
              Yang Liu Yang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: