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

search for kustomization files needs to be more flexible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Minor Minor
    • 4.14.0
    • 4.14
    • MicroShift
    • None
    • No
    • uShift Sprint 237, uShift Sprint 238
    • 2
    • False
    • Hide

      None

      Show
      None
    • Extended the search logic for manifest input files to include "kustomization.yml" and "kustomization" as well as the existing "kustomization.yaml".
    • Enhancement
    • Done

      Description of problem:

      The search logic for finding directories with kustomization files looks for "kustomization.yaml", but kubectl also looks for "kustomization.yml" and "kustomization". We need to extend the search logic in MicroShift to cover the variations.

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

      4.14

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create /etc/microshift/manifests/kustomization.yml
      2. Restart MicroShift
      3.
      

      Actual results:

      Manifests are not loaded.

      Expected results:

      Manifests are loaded.

      Additional info:

      https://github.com/openshift/microshift/pull/1698#discussion_r1175984452 

              dhellman@redhat.com Doug Hellmann
              dhellman@redhat.com Doug Hellmann
              Rahul Gangwar Rahul Gangwar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: