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

Add missing check in acl client with test case #284

Merged
merged 1 commit into from
Oct 3, 2024
Merged

Conversation

nolancon
Copy link
Collaborator

Description of your changes

Discovered during testing that the ACL subresource client was only checking for policies and grants in the spec, and not the ACL 🤦‍♂️.

Adds a check in the ACL subresource client to ensure and update is made in the event that ACL is specified/updated in the spec. Added a basic test case also.
I have:

  • Run make reviewable to ensure this PR is ready for review.
  • Run make ceph-chainsaw to validate these changes against Ceph. This step is not always necessary. However, for changes related to S3 calls it is sensible to validate against an actual Ceph cluster. Localstack is used in our CI Chainsaw suite for convenience and there can be disparity in S3 behaviours betwee it and Ceph. See docs/TESTING.md for information on how to run tests against a Ceph cluster.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

@nolancon nolancon marked this pull request as ready for review September 11, 2024 14:56
@nolancon nolancon merged commit c8908c7 into main Oct 3, 2024
10 checks passed
@nolancon nolancon deleted the fix-acl-controller branch October 3, 2024 10:11
nolancon added a commit that referenced this pull request Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant