File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -229,10 +229,22 @@ spec:
229229 # Content of the policy, as a multiline string
230230 # This should be IAM compliant JSON - follow the guidelines of the actual
231231 # S3 provider you're using, as sometimes only a subset is available.
232+ The first Statement (Allow ListBucket) should be applied to every user,
233+ # as s3-operator uses this call to verify that credentials are valid when
234+ # reconciling an existing user.
232235 policyContent : >-
233236 {
234237 "Version": "2012-10-17",
235238 "Statement": [
239+ {
240+ "Effect": "Allow",
241+ "Action": [
242+ "s3:ListBucket"
243+ ],
244+ "Resource": [
245+ "arn:aws:s3:::*"
246+ ]
247+ },
236248 {
237249 "Effect": "Allow",
238250 "Action": [
@@ -386,4 +398,3 @@ More information can be found via the [Kubebuilder Documentation](https://book.k
386398
387399</details >
388400
389-
You can’t perform that action at this time.
0 commit comments