mirror of https://github.com/kubernetes/kops.git
58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"Statement": [
|
|
{
|
|
"Action": [
|
|
"ec2:DescribeInstances",
|
|
"ec2:DescribeRegions"
|
|
],
|
|
"Effect": "Allow",
|
|
"Resource": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"Action": "autoscaling:DescribeAutoScalingInstances",
|
|
"Effect": "Allow",
|
|
"Resource": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"Action": "kms:GenerateRandom",
|
|
"Effect": "Allow",
|
|
"Resource": [
|
|
"*"
|
|
]
|
|
},
|
|
{
|
|
"Action": [
|
|
"s3:Get*"
|
|
],
|
|
"Effect": "Allow",
|
|
"Resource": [
|
|
"arn:aws:s3:::kops-tests/iam-builder-test.k8s.local/addons/*",
|
|
"arn:aws:s3:::kops-tests/iam-builder-test.k8s.local/cluster-completed.spec",
|
|
"arn:aws:s3:::kops-tests/iam-builder-test.k8s.local/igconfig/node/*",
|
|
"arn:aws:s3:::kops-tests/iam-builder-test.k8s.local/pki/issued/*",
|
|
"arn:aws:s3:::kops-tests/iam-builder-test.k8s.local/pki/private/kube-proxy/*",
|
|
"arn:aws:s3:::kops-tests/iam-builder-test.k8s.local/pki/private/kubelet/*",
|
|
"arn:aws:s3:::kops-tests/iam-builder-test.k8s.local/pki/ssh/*",
|
|
"arn:aws:s3:::kops-tests/iam-builder-test.k8s.local/secrets/dockerconfig"
|
|
]
|
|
},
|
|
{
|
|
"Action": [
|
|
"s3:GetBucketLocation",
|
|
"s3:GetEncryptionConfiguration",
|
|
"s3:ListBucket",
|
|
"s3:ListBucketVersions"
|
|
],
|
|
"Effect": "Allow",
|
|
"Resource": [
|
|
"arn:aws:s3:::kops-tests"
|
|
]
|
|
}
|
|
],
|
|
"Version": "2012-10-17"
|
|
}
|