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

Improve system-app PreHook and PostHook

XMLWordPrintable

    • 3
    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • RHOAM Sprint 53

      WHY
      Currently the system-app PreHook and PostHook is missing some of the functionality that it had when 3scale-operator used DeploymentConfigs.

      WHAT
      The .spec.image field of a Job is immutable so the operator is unable to update the Jobs to use new versions of the porta image.

      HOW
      Investigate using an InitContainer for the PreHook Job and a LifecycleHandler for the PostHook job. Continue to use Jobs for the PreHook and PostHook but refactor the reconciler to delete and recreate the Jobs whenever there is an image change.

            Unassigned Unassigned
            ckyrillo@redhat.com Carl Kyrillos
            Matej Dujava Matej Dujava
            Carl Kyrillos Carl Kyrillos
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: