Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-2346

Reintroduce conversion webhook

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Operator
    • None
    • None
    • None
    • None

      Conversion webhook being removed via NETOBSERV-2345, it must be reintroduced. 

      Unlike how it was done previously, we'd like this time to have the operator declare itself the webhook in CRD, by editing the CRD at runtime. The reason for that is to avoid having hardwritten fields in static CRD resource, especially the namespace, which is in theory a configurable field. Another reason is that it will avoid finalizer issue when the operator was undeployed but the CRD is still present, pointing to non-existing service, which blocks FlowCollector edition/deletion (we must cover that via a finalizer).

      See also the discussion here (internal link) : https://redhat-internal.slack.com/archives/CE4L0F143/p1751448238981059

              Unassigned Unassigned
              jtakvori Joel Takvorian
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: