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

[v14] Add conditional update methods for AccessList and AccessListMembers #40318

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

tigrato
Copy link
Contributor

@tigrato tigrato commented Apr 8, 2024

Backport #40036 to branch/v14

Copy link

github-actions bot commented Apr 8, 2024

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@tigrato tigrato added the no-changelog Indicates that a PR does not require a changelog entry label Apr 8, 2024
…s` (#40036)

* Add conditional update methods for `AccessList` and `AccessListMembers`

This PR adds two new methods for conditinally update an AccessList and
AccessListMember resources to avoid overriding changed resources.

This is a preparation for a ineligible status reconciler.

Signed-off-by: Tiago Silva <[email protected]>

* Update lib/services/simple/access_list.go

Co-authored-by: rosstimothy <[email protected]>

* handle review comments and drop copy methods

* simplify code

---------

Signed-off-by: Tiago Silva <[email protected]>
Co-authored-by: rosstimothy <[email protected]>
@tigrato tigrato force-pushed the tigrato/backport-40036-b14 branch from b0d8bc0 to 56fc2fa Compare April 9, 2024 15:48
@tigrato tigrato added this pull request to the merge queue Apr 10, 2024
Merged via the queue into branch/v14 with commit 27bdf28 Apr 10, 2024
34 checks passed
@tigrato tigrato deleted the tigrato/backport-40036-b14 branch April 10, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport no-changelog Indicates that a PR does not require a changelog entry size/md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants