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
feat(proxy-webhook/tls): read OpenShift APIServer TLS profile at startup, inject as WEBHOOK_TLS_* env vars
Same pattern as cmd/openshift/webhook/main.go: cfg and signalCtx are created
first, SetupAPIServerTLSWatch populates the shared lister and watches for TLS
profile changes (os.Exit(1) on change), then GetTLSProfileFromAPIServer +
TLSEnvVarsFromProfile inject WEBHOOK_TLS_* env vars before Knative bootstraps.
Both openshift and kubernetes proxy-webhook/main.go now inline the context setup
(namespace scope + kwebhook.WithOptions) directly, the same way the regular
webhooks do. proxy.Getctx() is removed from controller.go — it was only a thin
wrapper around signals.NewContext() + webhook.WithOptions and is no longer needed.
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments