Uploaded image for project: 'Machine Config Operator'
  1. Machine Config Operator
  2. MCO-712

Clean up old lease configmaps

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • 2
    • False
    • None
    • False
    • 0
    • 0.000

      Follow-up to https://issues.redhat.com/browse/MCO-532 to be implemented in 4.15.

      This can be done by creating dummy manifests for the two configmaps("machine-config" and "machine-config-controller") in question and setting an annotation like this

      .metadata.annotations["release.openshift.io/delete"]="true"

      This should delete the configmap when an upgrade to this version takes place. 

      Done When

      • Cleans up old ConfigMaps that were being used as leases
      • No weird/unexplainable timings/errors are introduced
      • Tests pass

              Unassigned Unassigned
              jkyros@redhat.com John Kyros (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: