View namespaces and repositories in Container Service for Kubernetes
Updated at:
This topic provides examples of how to view namespaces and repositories in Container Service for Kubernetes.
The following policy allows a RAM user to view namespaces and repositories in Container Service for Kubernetes, but restricts repository pulls to the alice namespace.
"Statement": [
{
"Action": [
"cr:Get*",
"cr:List*",
"cr:PullRepository"
],
"Effect": "Allow",
"Resource": [
"acs:cr:*:*:repository/alice/*"
]
},
{
"Action": [
"cr:ListNamespace",
"cr:ListRepository"
],
"Effect": "Allow",
"Resource": [
"*"
]
}
],
"Version": "1"
}Is this page helpful?