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
This is because once the mutationWebhookConfiguration is deployed, our api server will check all pods creation, including our controller pod. API server will call our webhook server. But since our controller pod contains the webhooks server, so it needs to come up first before apiserver could trigger webhook. This will becomes a deadlock if we deploy our controller after the mutationWebhookConfiguration.
Add labels our namespace, so webhook controller could skip namespaces with those labels
Drawback: k8s related or other system level namespaces needs labels as well, there could be potential issue
Webhook controller only checks namespaces with specific labels
Drawback: we will need to modify namespaces labels, except the annotations on them.
The text was updated successfully, but these errors were encountered:
Context
This is because once the mutationWebhookConfiguration is deployed, our api server will check all pods creation, including our controller pod. API server will call our webhook server. But since our controller pod contains the webhooks server, so it needs to come up first before apiserver could trigger webhook. This will becomes a deadlock if we deploy our controller after the mutationWebhookConfiguration.
Related issue kubernetes-sigs/kustomize#821
Reproduce steps
make deploy
Possible solution
Drawback: k8s related or other system level namespaces needs labels as well, there could be potential issue
Drawback: we will need to modify namespaces labels, except the annotations on them.
The text was updated successfully, but these errors were encountered: