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: I2205299093feca51f30526ba305eadbaa0a68ecb
This commit is contained in:
parent
7418a5a963
commit
0697e01144
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ local kube = import "../../../kube/kube.libsonnet";
|
|||
comment: "Logged in users can query the catalog.",
|
||||
},
|
||||
{
|
||||
match: {account: ""},
|
||||
match: {account: "/.*/"},
|
||||
actions: ["pull"],
|
||||
comment: "Anyone can pull all images.",
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue