Uploaded image for project: 'Multiple Architecture Enablement'
  1. Multiple Architecture Enablement
  2. MULTIARCH-5370

Add/Remove a finalizer to the ClusterPodPlacementConfig when the first PodPlacementConfig is created/removed

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • None
    • MTO Sprint 273, MTO Sprint 275

      Add the finalizer finalizers.multiarch.openshift.io/no-pod-placement-config when the first PodPlacementConfig is created and remove it when the last pod placement config is removed.

      Acceptance criteria:

      • The enhancement proposal is updated to document this finalizer's role: avoiding the removal of the ClusterPodPlacementConfig until all the PodPlacementConfig objects are deleted.
      • [nice-to-have] [if-needed-to-improve-uninstallation-ux] the validating webhook of the cluster pod placement config prints a warning instead of denying the deletion of the cluster pod placement config until all the PodPlacementConfig objects are deleted.
      • The finalizer is added/removed according to the description above
      • Integration, unit and e2e tests
      • Manually test the uninstallation via UI and CLI and ensure the uninstallation transaction succeeds in the possible cases.

              lwan-wanglin Lin Wang
              rhn-support-adistefa Alessandro Di Stefano
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: