setup minio automation #229

Merged
mg merged 114 commits from minio_automation into master 2024-11-09 22:00:58 +01:00
Showing only changes of commit 68f3b24c85 - Show all commits

View file

@ -29,83 +29,83 @@ minio_buckets:
minio_policies: minio_policies:
- name: testbucket1_rw - name: testbucket1_rw
policy: | policy: |
{ {
"Version": "2012-10-17", "Version": "2012-10-17",
"Statement": [ "Statement": [
{ {
"Effect": "Allow", "Effect": "Allow",
"Principal": { "Principal": {
"AWS": [ "AWS": [
"*" "*"
]
},
"Action": [
"s3:GetBucketLocation",
"s3:ListBucket",
"s3:ListBucketMultipartUploads"
],
"Resource": [
"arn:aws:s3:::testbucket1"
] ]
}, },
{ "Action": [
"Effect": "Allow", "s3:GetBucketLocation",
"Principal": { "s3:ListBucket",
"AWS": [ "s3:ListBucketMultipartUploads"
"*" ],
] "Resource": [
}, "arn:aws:s3:::testbucket1"
"Action": [ ]
"s3:AbortMultipartUpload", },
"s3:DeleteObject", {
"s3:GetObject", "Effect": "Allow",
"s3:ListMultipartUploadParts", "Principal": {
"s3:PutObject" "AWS": [
], "*"
"Resource": [
"arn:aws:s3:::testbucket1/*"
] ]
} },
] "Action": [
} "s3:AbortMultipartUpload",
"s3:DeleteObject",
"s3:GetObject",
"s3:ListMultipartUploadParts",
"s3:PutObject"
],
"Resource": [
"arn:aws:s3:::testbucket1/*"
]
}
]
}
- name: testbucket3_ro - name: testbucket3_ro
policy: | policy: |
{ {
"Version": "2012-10-17", "Version": "2012-10-17",
"Statement": [ "Statement": [
{ {
"Effect": "Allow", "Effect": "Allow",
"Principal": { "Principal": {
"AWS": [ "AWS": [
"*" "*"
]
},
"Action": [
"s3:GetBucketLocation",
"s3:ListBucket",
"s3:ListBucketMultipartUploads"
],
"Resource": [
"arn:aws:s3:::testbucket3"
] ]
}, },
{ "Action": [
"Effect": "Allow", "s3:GetBucketLocation",
"Principal": { "s3:ListBucket",
"AWS": [ "s3:ListBucketMultipartUploads"
"*" ],
] "Resource": [
}, "arn:aws:s3:::testbucket3"
"Action": [ ]
"s3:AbortMultipartUpload", },
"s3:DeleteObject", {
"s3:GetObject", "Effect": "Allow",
"s3:ListMultipartUploadParts", "Principal": {
"s3:PutObject" "AWS": [
], "*"
"Resource": [
"arn:aws:s3:::testbucket3/*"
] ]
} },
] "Action": [
} "s3:AbortMultipartUpload",
"s3:DeleteObject",
"s3:GetObject",
"s3:ListMultipartUploadParts",
"s3:PutObject"
],
"Resource": [
"arn:aws:s3:::testbucket3/*"
]
}
]
}