You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
An error is encountered in the webhook signal when you have a webhook with a certain path, delete it, and then re-create it with the same path. (assuming both signal streams connect to the same webhook signal pod and the pod doesn't die between requests)
To Reproduce
Steps to reproduce the behavior:
k create -f examples/webhook-sensor.yaml
k delete sensor webhook-example
k create -f examples/webhook-sensor.yaml
Expected behavior
One should be able to delete and re-create sensors without having to modify and/or change the spec.
Additional context
This is related to how multiplexers & servers work. We were initially creating a separate server with a new ServeMux on every Listen(), however we cannot do this since we cannot start 2 servers listening on the same port (and now the port is fixed at signal startup).
The text was updated successfully, but these errors were encountered:
addressed in #92 . A webhook gateway can be configured with multiple endpoint with different http methods. Deleting and recreating sensor has no effect on gateway as they are completely decoupled from each other.
Describe the bug
An error is encountered in the webhook signal when you have a webhook with a certain path, delete it, and then re-create it with the same path. (assuming both signal streams connect to the same webhook signal pod and the pod doesn't die between requests)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
One should be able to delete and re-create sensors without having to modify and/or change the spec.
Additional context
This is related to how multiplexers & servers work. We were initially creating a separate server with a new
ServeMux
on everyListen()
, however we cannot do this since we cannot start 2 servers listening on the same port (and now the port is fixed at signal startup).The text was updated successfully, but these errors were encountered: