forked from hswaw/hscloud
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: I2205299093feca51f30526ba305eadbaa0a68ecbmaster
parent
7418a5a963
commit
0697e01144
|
@ -171,7 +171,7 @@ local kube = import "../../../kube/kube.libsonnet";
|
||||||
comment: "Logged in users can query the catalog.",
|
comment: "Logged in users can query the catalog.",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match: {account: ""},
|
match: {account: "/.*/"},
|
||||||
actions: ["pull"],
|
actions: ["pull"],
|
||||||
comment: "Anyone can pull all images.",
|
comment: "Anyone can pull all images.",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue