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 support for v1beta2 conditions to patch helper #11150

Conversation

fabriziopandini
Copy link
Member

What this PR does / why we need it:
Add support for metav1 conditions (that will be used in v1beta2 types) to patch helper
Please do not review (it depends on

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Rif #11105

/area util

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. area/util Issues or PRs related to utils labels Sep 9, 2024
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 9, 2024
@fabriziopandini fabriziopandini force-pushed the v1beta2-conditions-patch-helper branch 4 times, most recently from f821534 to d8ea122 Compare September 12, 2024 10:31
@sbueringer sbueringer changed the title [WIP] [Do not review] 🌱 Add support for v1beta2 conditions to patch helper [WIP] 🌱 [Do not review] Add support for v1beta2 conditions to patch helper Sep 12, 2024
util/patch/patch_test.go Outdated Show resolved Hide resolved
util/patch/utils.go Show resolved Hide resolved
util/patch/patch.go Outdated Show resolved Hide resolved
util/patch/patch.go Outdated Show resolved Hide resolved
util/patch/patch.go Outdated Show resolved Hide resolved
util/patch/options.go Outdated Show resolved Hide resolved
util/conditions/v1beta2/patch.go Show resolved Hide resolved
util/conditions/v1beta2/patch.go Outdated Show resolved Hide resolved
util/conditions/v1beta2/patch.go Show resolved Hide resolved
util/conditions/v1beta2/patch.go Outdated Show resolved Hide resolved
util/patch/patch_test.go Outdated Show resolved Hide resolved
util/patch/patch_test.go Outdated Show resolved Hide resolved
util/patch/patch_test.go Outdated Show resolved Hide resolved
util/patch/patch_test.go Outdated Show resolved Hide resolved
util/patch/patch_test.go Outdated Show resolved Hide resolved
@fabriziopandini fabriziopandini changed the title [WIP] 🌱 [Do not review] Add support for v1beta2 conditions to patch helper [WIP] 🌱 Add support for v1beta2 conditions to patch helper Sep 16, 2024
Copy link
Member

@sbueringer sbueringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One round of review just for the delta

util/conditions/v1beta2/patch.go Outdated Show resolved Hide resolved
util/patch/patch_test.go Outdated Show resolved Hide resolved
util/patch/patch_test.go Outdated Show resolved Hide resolved
util/patch/patch_test.go Outdated Show resolved Hide resolved
util/patch/patch.go Outdated Show resolved Hide resolved
util/patch/patch.go Outdated Show resolved Hide resolved
util/patch/patch.go Outdated Show resolved Hide resolved
util/patch/patch.go Outdated Show resolved Hide resolved
util/patch/utils.go Show resolved Hide resolved
util/patch/patch.go Outdated Show resolved Hide resolved
util/conditions/v1beta2/patch.go Outdated Show resolved Hide resolved
util/conditions/v1beta2/patch.go Outdated Show resolved Hide resolved
util/conditions/v1beta2/patch.go Outdated Show resolved Hide resolved
@fabriziopandini fabriziopandini changed the title [WIP] 🌱 Add support for v1beta2 conditions to patch helper 🌱 Add support for v1beta2 conditions to patch helper Sep 17, 2024
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 17, 2024
util/patch/patch.go Outdated Show resolved Hide resolved
util/patch/patch.go Outdated Show resolved Hide resolved
util/patch/patch.go Outdated Show resolved Hide resolved
@sbueringer sbueringer added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Sep 19, 2024
util/patch/options.go Show resolved Hide resolved
util/patch/patch.go Outdated Show resolved Hide resolved
@sbueringer
Copy link
Member

sbueringer commented Sep 19, 2024

Thank you very much! Really nice work :)

/lgtm
/approve

/hold
(up to you)

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 19, 2024
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 19, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 2381275627534d37eb8bfef487402a353fbaad75

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 19, 2024
@sbueringer
Copy link
Member

sbueringer commented Sep 19, 2024

/test pull-cluster-api-e2e-main

(let's override if only the MP flake occurs)

@chrischdi
Copy link
Member

/approve

@chrischdi
Copy link
Member

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 19, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chrischdi, sbueringer

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [chrischdi,sbueringer]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@fabriziopandini fabriziopandini removed the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Sep 19, 2024
@fabriziopandini
Copy link
Member Author

/test pull-cluster-api-e2e-main

@k8s-ci-robot k8s-ci-robot merged commit 879617d into kubernetes-sigs:main Sep 19, 2024
20 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.9 milestone Sep 19, 2024
@fabriziopandini fabriziopandini deleted the v1beta2-conditions-patch-helper branch September 21, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/util Issues or PRs related to utils cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants