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

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

      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

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

                Created:
                Updated:
                Resolved: