Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-6762

Move webhook management from the operator to OLM

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done-Errata
    • Icon: Major Major
    • OSSM 2.6.0
    • None
    • Maistra
    • None

      Currently, the operator creates the Mutating/ValidatingWebhookConfigurations for the SMCP, SMMR, and SMM. It also handles CA bundle injection into those webhooks and CRDs. This has the following downsides:

      • after installation, the operator has to run and then restart so that it picks up the secret holding the certificate
      • this certificate is never rotated
      • the webhook resources aren't cleaned up when the operator is uninstalled
      • the resources aren't recreated automatically if someone deletes them by mistake (causing SMCP/SMMR/SMM validation to either not be performed or to fail)
      • the code that creates these resources creates its own kube client, which causes a lot of unnecessary API discovery requests
      • these API discovery requests increase the probability of the API server throttling the operator and causing it to lose its leader lease

      All this can be solved by letting OLM manage the webhooks.

              mluksa@redhat.com Marko Luksa
              mluksa@redhat.com Marko Luksa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: