diff --git a/src/states/registered.rs b/src/states/registered.rs index 4453529..6fbe11c 100644 --- a/src/states/registered.rs +++ b/src/states/registered.rs @@ -15,7 +15,7 @@ fn validate_pod_runnable(pod: &Pod) -> anyhow::Result<()> { fn validate_not_kube_proxy(container: &Container) -> anyhow::Result<()> { if let Some(image) = container.image()? { - if image.whole().starts_with("k8s.gcr.io/kube-proxy") { + if image.whole().starts_with("registry.k8s.io/kube-proxy") { return Err(anyhow::anyhow!("Cannot run kube-proxy")); } }