generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 271
Open
Labels
needs-investigationIndicates an issue needs some investigation.Indicates an issue needs some investigation.service/s3Indicates issues or PRs that are related to s3-controller.Indicates issues or PRs that are related to s3-controller.
Description
Describe the bug
I'm trying to create the below bucket:
apiVersion: s3.services.k8s.aws/v1alpha1
kind: Bucket
metadata:
name: khalil-bucket-policy-test3
spec:
name: khalil-bucket-policy-test3
publicAccessBlock:
blockPublicACLs: true
blockPublicPolicy: true
ignorePublicACLs: true
restrictPublicBuckets: trueThe bucket didn't exists before, ACK resource shows the following status:
conditions:
- lastTransitionTime: "2025-11-04T15:57:42Z"
message: Resource already exists
reason: This resource already exists but is not managed by ACK. To bring the resource
under ACK management, you should explicitly adopt the resource by enabling the
ResourceAdoption feature gate and populating the `services.k8s.aws/adoption-policy`
and `services.k8s.aws/adoption-fields` annotations.
status: "True"
type: ACK.TerminalRemoving the publicAccessBlock configuration and the same bucket is created successfully.
Environment
AWS service targeted: S3
Chart: aws-ack-s3-s3-chart-76d4f89db6-t2hn7
Controller image tag: s3-controller:1.1.1
Kubernetes version: v1.31.13-eks-113cf36
Using EKS: yes
Metadata
Metadata
Assignees
Labels
needs-investigationIndicates an issue needs some investigation.Indicates an issue needs some investigation.service/s3Indicates issues or PRs that are related to s3-controller.Indicates issues or PRs that are related to s3-controller.