Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-686

Introduce a cleanup function in lib-common for ConfigMaps

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • ovn-operator
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • OSPRH-4727 - ovn-operator enhancements (Post OSP18 GA)
    • ?

      In a recent PR to ovn-operator, we introduced a function called deleteExternalConfigMaps[1] that is responsible for cleaning up configMaps created by configmap.EnsureConfigMaps from lib-common.

      It would make sense to move the deleteExternalConfigMaps function to lib-common in the same module with EnsureConfigMaps and then reuse it from OVN operator (and other operators that are interested in cleaning obsolete ConfigMaps previously created.)

      [1] https://github.com/openstack-k8s-operators/ovn-operator/blob/15f69cfd799aea2af394c7c75f4541198d170c07/controllers/ovncontroller_controller.go#L745

              Unassigned Unassigned
              ihrachys Ihar Hrachyshka
              rhos-dfg-networking-squad-neutron
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: