cluster/kube/lib/registry: allow auth'd users to pull all images
"Anyone can pull all images" rule did only match on anonymous users. Now
it should match all users, including authenticated ones.
Change-Id: I2205299093feca51f30526ba305eadbaa0a68ecb
diff --git a/cluster/kube/lib/registry.libsonnet b/cluster/kube/lib/registry.libsonnet
index 2df6da6..d909403 100644
--- a/cluster/kube/lib/registry.libsonnet
+++ b/cluster/kube/lib/registry.libsonnet
@@ -171,7 +171,7 @@
comment: "Logged in users can query the catalog.",
},
{
- match: {account: ""},
+ match: {account: "/.*/"},
actions: ["pull"],
comment: "Anyone can pull all images.",
},