We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1cc7851 + 32a9454 commit bfdee9bCopy full SHA for bfdee9b
docs/spec/v1beta1/buckets.md
@@ -204,6 +204,28 @@ spec:
204
> **Note:** that on EKS you have to create an IAM role for the source-controller
205
> service account that grants access to the bucket.
206
207
+### AWS IAM bucket policy example
208
+
209
+```json
210
+{
211
+ "Version": "2012-10-17",
212
+ "Statement": [
213
+ {
214
+ "Sid": "",
215
+ "Effect": "Allow",
216
+ "Action": "s3:GetObject",
217
+ "Resource": "arn:aws:s3:::podinfo/*"
218
+ },
219
220
221
222
+ "Action": "s3:ListBucket",
223
+ "Resource": "arn:aws:s3:::podinfo"
224
+ }
225
+ ]
226
+}
227
+```
228
229
## Status examples
230
231
Successful download:
0 commit comments