linkerd2/jaeger
Firas Medini aaab29c5f7
Set proxy-injector, tap-injector and jaeger-injector mutating webhook rules scope to Namespaced (#12195)
* Set mutating webhook rules scope to Namespaced

Problem: The linkerd-proxy-injector-webhook-config, linkerd-jaeger-injector-webhook-config, and linkerd-tap-injector-webhook-config mutating webhooks raise a warning on GKE that says "Update webhook to no longer intercept system requests." in the GCP console recommendation section. This is because the scope is set to *. This also happens if scope is Namespaced, and kube-system and kube-node-lease namespaces are not excluded using namespaceSelector.

Solution: Setting the scope to Namespaced for all webhooks, and the user can set the namespaceSelector in the helm values.

Validation: This should not change the webhooks behaviour as all webhooks are triggered only by pod/service creation requests, and pods/services are namespaced resources.

Fixes #12193


---------

Signed-off-by: f.medini <f.medini@nyris.io>
Co-authored-by: Alejandro Pedraza <alejandro@buoyant.io>
2024-03-28 09:29:31 -05:00
..
charts/linkerd-jaeger Set proxy-injector, tap-injector and jaeger-injector mutating webhook rules scope to Namespaced (#12195) 2024-03-28 09:29:31 -05:00
cmd Set proxy-injector, tap-injector and jaeger-injector mutating webhook rules scope to Namespaced (#12195) 2024-03-28 09:29:31 -05:00
injector dev: Update Go to v1.22 (#12114) 2024-02-22 09:39:33 -05:00
pkg/labels jaeger: add data-plane injection checks (#5719) 2021-02-19 00:39:24 +05:30
static Remove old build constraints (#7392) 2021-12-08 14:36:24 -07:00