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
Developing webhooks (validator / mutator) with the SDK is kind of cumbersome because one needs to start the operator and then open ngrok or localtunnel connections and then register the url within Kubernetes.
With https://github.com/Sebazzz/LocaltunnelClient it could be possible (investigate) to create a localtunnel connection during app startup and register the developer instance directly in Kubernetes while debugging the code.
So, if the SDK detects webhooks, the developer experience should be that the SDK creates a localtunnel and directyl registers the webhook configuration within Kubernetes during startup and clears the config on termination.
The text was updated successfully, but these errors were encountered:
This closes#253. When developing webhooks, one needed to
start the operator locally, then use some technology like "localtunnel"
or "ngrok" to have a tunnel (with HTTPS) to the local running operator
and then register that given randomized url to Kubernetes to
actually call the migrator/validator.
This pull request uses localtunnel as a libary by adding AddWebhookLocaltunnel
to the operator builder. With this, the operator creates a localtunnel
during startup and registers itself within Kubernetes with the returned url.
Note: this should never be used in production.
Developing webhooks (validator / mutator) with the SDK is kind of cumbersome because one needs to start the operator and then open ngrok or localtunnel connections and then register the url within Kubernetes.
With https://github.com/Sebazzz/LocaltunnelClient it could be possible (investigate) to create a localtunnel connection during app startup and register the developer instance directly in Kubernetes while debugging the code.
So, if the SDK detects webhooks, the developer experience should be that the SDK creates a localtunnel and directyl registers the webhook configuration within Kubernetes during startup and clears the config on termination.
The text was updated successfully, but these errors were encountered: