Based on my experimentation, it seems that the kubelet's latency to reflect the updates on a watched Secret (configMapAndSecretChangeDetectionStrategy=Watch) to a container's filesystem seems to be ranging from 30-100 seconds (i.e. not instant), regardless of minikube, kind, GKE or kubeadm clusters.
Does this basically mean that until the container that's running the webhook (and automating certificate management with cert-controller package), the webhook actually will be down because this library updates WebhookConfiguration's .caBundle field with the new CA cert (which instantly takes effect) and it will no longer match the served TLS certificate for another minute or so?
Is this a known issue, or something that's factored to the current design that's solved (maybe I'm seeing it incorrectly).
Based on my experimentation, it seems that the kubelet's latency to reflect the updates on a watched Secret (configMapAndSecretChangeDetectionStrategy=Watch) to a container's filesystem seems to be ranging from 30-100 seconds (i.e. not instant), regardless of minikube, kind, GKE or kubeadm clusters.
Does this basically mean that until the container that's running the webhook (and automating certificate management with
cert-controllerpackage), the webhook actually will be down because this library updates WebhookConfiguration's.caBundlefield with the new CA cert (which instantly takes effect) and it will no longer match the served TLS certificate for another minute or so?Is this a known issue, or something that's factored to the current design that's solved (maybe I'm seeing it incorrectly).