-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If composition and managed resource are created on top of an existing resource, they will not become "Ready" #1762
Comments
Just some data point on this. When I imported a s3 bucket and it had different configuration compared to composite I have seen this behavior. If you undo |
Also have this issue and just want to add that by using the annotation |
I just tested the MR above with |
We have the same issue. After reconciliation, s3 buckets are not getting ready:
We are running crossplane aws provider
|
@xoanmi can you post the YAML of your bucket? |
You can reproduce it with a very simple example:
|
@xoanmi I am unable to reproduce this with a standard bucket or the MR posted above. Can you give me the YAML that you are using? |
apiVersion: s3.aws.crossplane.io/v1beta1
kind: Bucket
metadata:
annotations:
crossplane.io/external-name: my-own-s3-bucket
name: my-own-s3-bucket
spec:
deletionPolicy: Orphan
forProvider:
acl: private
locationConstraint: eu-central-1
objectOwnership: BucketOwnerPreferred
paymentConfiguration:
payer: BucketOwner
versioningConfiguration:
status: Enabled
managementPolicies:
- '*' We are creating the MR from a composition. Could be this related to the issue? |
Probably, if you are overwriting fields in the composition. |
I have done some tests it's a problem in the reconciliation loop: Steps to reproduce it:
But if you include the Encryption configuration, the bucket reconciles :
|
Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as |
/fresh This issue still happening |
What happened?
Managed resource:
Bucket with name
example-com-dev10-pg-backup
exists in AWS.^ I expect here
Ready: True
Composition:
logs:
How can we reproduce it?
deletionPolicy
toOrphan
in managed resourceWhat environment did it happen in?
Crossplane version: v1.10.1
kubectl version
) v1.23.8The text was updated successfully, but these errors were encountered: