kube-prometheus icon indicating copy to clipboard operation
kube-prometheus copied to clipboard

MutatingWebhookConfiguration/ValidatingWebhookConfiguration gets flagged on GKE

Open olivierboucher opened this issue 1 year ago • 0 comments

What is missing?

There is no way to configure the scope property on the 2 webhook configurations. This triggers a warning inside GKE:

https://cloud.google.com/kubernetes-engine/docs/how-to/optimize-webhooks#exclude_kube-system_and_kube-node-lease_namespaces

They require that webhook configurations must be namespaced, which I think makes sense.

Why do we need it?

To be able to comply with GKE

Environment

  • kube-prometheus version: Chart 56.6.2

Anything else we need to know?:

olivierboucher avatar Feb 07 '24 19:02 olivierboucher