argo-cd/resource_customizations/s3.aws.crossplane.io/Bucket/testdata/ReconcileError.yaml
Jellyfrog 7f338e910f
feat(health): support for aws.crossplane.io resources (#19029)
* feat(health): support for iam.aws.crossplane.io resources

Signed-off-by: Jellyfrog <Jellyfrog@users.noreply.github.com>

* feat(health): support for bucket s3.aws.crossplane.io resource

Signed-off-by: Jellyfrog <Jellyfrog@users.noreply.github.com>

---------

Signed-off-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2024-07-12 10:46:06 -04:00

42 lines
1.2 KiB
YAML

apiVersion: s3.aws.crossplane.io/v1beta1
kind: Bucket
metadata:
name: example
spec:
deletionPolicy: Delete
forProvider:
locationConstraint: eu-north-1
objectOwnership: BucketOwnerEnforced
paymentConfiguration:
payer: BucketOwner
publicAccessBlockConfiguration:
blockPublicAcls: true
blockPublicPolicy: true
ignorePublicAcls: true
restrictPublicBuckets: true
serverSideEncryptionConfiguration:
rules:
- applyServerSideEncryptionByDefault:
sseAlgorithm: AES256
versioningConfiguration:
status: Suspended
providerConfigRef:
name: provider-aws
status:
atProvider:
arn: 'arn:aws:s3:::example'
conditions:
- lastTransitionTime: '2024-07-12T09:51:07Z'
reason: Deleting
status: 'False'
type: Ready
- lastTransitionTime: '2024-07-12T09:51:07Z'
message: >-
delete failed: operation error S3: DeleteBucket, https response error
StatusCode: 409, RequestID: ABC123, HostID:
ABC/123/ABC=,
api error BucketNotEmpty: The bucket you tried to delete is not empty.
You must delete all versions in the bucket.
reason: ReconcileError
status: 'False'
type: Synced