Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-9001

Re-sync routes when namespace is deleted for restoration

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Minor
    • None
    • None
    • 3scale Operator
    • RHOAM Sprint 43, RHOAM Sprint 44

    Description

      WHAT
      There are instances where the "bundle exec rake zync:resync:domains" needs to run on the system-sidekiq pod to recreate routes.

      For example, this is done in RHOAM in the scenario where the namespace gets restored after deletion but is still connected to the previous DB instance.

      This should be instead detected and handled by the 3scale Operator instead

      HOW
      Implement a new function inside the`zync_reconciler.go` file following a similar logic to the already existing logic in the `apimanagerretore_logic_reconciler.go` file: https://github.com/den-rgb/3scale-operator/blob/master/controllers/apps/apimanagerrestore_logic_reconciler.go#L468

      DONE

      • 3scale Operator would re-sync routes if required

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chfan@redhat.com Kevin Chi Keen Fan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: