Skip to content
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

Spec grantFullControl does not work as expected #183

Closed
fernandodlhdt opened this issue Mar 27, 2024 · 1 comment
Closed

Spec grantFullControl does not work as expected #183

fernandodlhdt opened this issue Mar 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@fernandodlhdt
Copy link

What happened?

Besides I configure the bucket to have another user with full control privileges of the bucket, it does not reconcile as expected:

...
    forProvider:
      grantFullControl: id="test-crossplane",id="lab-fernandodlhdt"
      lifecycleConfiguration:
        rules:
        - abortIncompleteMultipartUpload:
            daysAfterInitiation: 2
          id: Abort multipart uploads after one day
          status: Enabled
...

The bucket gets updated but:

aws s3api get-bucket-acl --bucket lab-crossplane-linode-test-bucket-1
{
    "Owner": {
        "DisplayName": "Test user for K8s Ceph Crossplane provider",
        "ID": "test-crossplane"
    },
    "Grants": [
        {
            "Grantee": {
                "DisplayName": "Test user for K8s Ceph Crossplane provider",
                "ID": "test-crossplane",
                "Type": "CanonicalUser"
            },
            "Permission": "FULL_CONTROL"
        }
    ]
}

The same goes if I try to set grantRead or grantWrite fields.

How can we reproduce it?

Creating a bucket and setting spec.forProvider.grantFullControl

What environment did it happen in?

  • Crossplane version: crossplane:v1.14.6
  • Cloud provider or hardware configuration: on-premises Ceph cluster 6.1z4
  • Kubernetes version: v1.27.10+c79e5e2
  • Kubernetes distribution: OpenShift
  • OS: RHELCOS
@fernandodlhdt fernandodlhdt added the bug Something isn't working label Mar 27, 2024
@nolancon nolancon mentioned this issue Apr 4, 2024
3 tasks
@nolancon
Copy link
Collaborator

nolancon commented Apr 9, 2024

Hi @fernandodlhdt, thanks for your feedback. This should now be resolved by #220.
Please feel free to retry with the latest release candidate
up ctp provider install xpkg.upbound.io/linode/provider-ceph:v0.0.44-rc.0.5.g582c1d4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants