Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-6271

hosts-file configmap does not get deleted when core dns is disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • openshift-4.21
    • None
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 0
    • None
    • None
    • uShift Sprint 280
    • None
    • None
    • None

      Description of problem:

      when user disabled core dns i see hosts-file configmap does not get deleted.
      

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

      4.21
      

      How reproducible:

      Always
      

      Steps to Reproduce:

      1. Enable core dns using the /etc/microshift/config.yaml file
      2. Restart microshift service.
      3. Now user can see that there is a configmap with name called hosts-file that gets created in the openshift-dns namespace.
      4. Now disable the core dns using the /etc/microshift/config.yaml file by setting the status to Disabled.
      5. Restart microshift
      

      Actual results:

      I can see that hosts-file configmap that gets created with core dns enablement does not get deleted when it is disabled.
      

      Expected results:

      When core dns is disabled hosts-file configmap should be deleted as well.
      

      Additional info:

      
      

              eslutsky Evgeny Slutsky
              knarra@redhat.com Rama Kasturi Narra
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: