Uploaded image for project: 'Managed Service - API'
  1. Managed Service - API
  2. MGDAPI-5901

logic for new uninstallation flow using addon instance

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Critical Critical
    • 1.38.0
    • None
    • None
    • RHOAM Sprint 43

      WHY
      Addon instance will provide a way to notify addons that an uninstallation has occurred. We should account for this new uninstallation flow so that we are ready once this is available in production

      WHAT
      Integreatly operator should initiate a uninstallation flow folllowing:

      once a new version of addon operator is available that takes account these changes:

      HOW

      • In the new status controller provided by MGDAPI-5304, check for this markedForDeletion field to be true
      • If true, delete the RHMI CR to initiate an uninstall
      • Once uninstallation is complete, report a new status to the addon instance using the new condition to report that the addon is ready to be removed.
      • Existing uninstallation logic should be kept until the migration of cluster service to addon service

      TESTS

      • Unit tests for the logic

       

      DONE

      • New uninstallation flow using addon instance is accounted for 

            chfan@redhat.com Kevin Chi Keen Fan
            chfan@redhat.com Kevin Chi Keen Fan
            Patryk Stefanski Patryk Stefanski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: