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 topology conditions #5732

Merged

Conversation

ykakarap
Copy link
Contributor

What this PR does / why we need it:

This PR adds TopologyReconciled condition to classy-clusters.

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

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 25, 2021

CLA Not Signed

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Nov 25, 2021
@ykakarap ykakarap changed the title add topology conditions ✨ add topology conditions Nov 25, 2021
@ykakarap
Copy link
Contributor Author

/retest

1 similar comment
@ykakarap
Copy link
Contributor Author

/retest

@RA489
Copy link

RA489 commented Nov 25, 2021

/check-cla

Copy link
Member

@fabriziopandini fabriziopandini left a comment

Choose a reason for hiding this comment

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

@ykakarap thanks for this PR!
If we can manage to nail clean up a little bit the naming of the fields in the upgrade tracker, then the entire PR will benefit from it
PS. I still have to take a look at tests, but I will do this when we sort out ^^

api/v1beta1/condition_consts.go Outdated Show resolved Hide resolved
api/v1beta1/condition_consts.go Outdated Show resolved Hide resolved
api/v1beta1/condition_consts.go Outdated Show resolved Hide resolved
api/v1beta1/condition_consts.go Outdated Show resolved Hide resolved
api/v1beta1/condition_consts.go Outdated Show resolved Hide resolved
controllers/topology/conditions.go Outdated Show resolved Hide resolved
controllers/topology/conditions.go Outdated Show resolved Hide resolved
controllers/topology/conditions.go Outdated Show resolved Hide resolved
controllers/topology/desired_state.go Outdated Show resolved Hide resolved
controllers/topology/cluster_controller.go Outdated Show resolved Hide resolved
@ykakarap ykakarap force-pushed the cluster-topology-conditions-4 branch 2 times, most recently from e48956b to 5a2aa5f Compare November 30, 2021 08:27
@fabriziopandini
Copy link
Member

/check-cla

Copy link
Member

@fabriziopandini fabriziopandini left a comment

Choose a reason for hiding this comment

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

Thanks for addressing the first round of comments!

controllers/topology/desired_state.go Outdated Show resolved Hide resolved
controllers/topology/desired_state.go Outdated Show resolved Hide resolved
controllers/topology/desired_state.go Outdated Show resolved Hide resolved
controllers/topology/desired_state.go Outdated Show resolved Hide resolved
controllers/topology/desired_state.go Outdated Show resolved Hide resolved
controllers/topology/desired_state.go Outdated Show resolved Hide resolved
controllers/topology/conditions.go Outdated Show resolved Hide resolved
controllers/topology/internal/scope/upgradetracker.go Outdated Show resolved Hide resolved
Copy link
Member

@fabriziopandini fabriziopandini left a comment

Choose a reason for hiding this comment

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

Thanks for addressing the first round of comments!

controllers/topology/conditions.go Outdated Show resolved Hide resolved
@ykakarap ykakarap force-pushed the cluster-topology-conditions-4 branch from 5a2aa5f to 968bf92 Compare November 30, 2021 18:45
@ykakarap
Copy link
Contributor Author

The PR has the cncf-cla: yes label but the EasyCLA pipeline still is failing. Is this a blocker?

@fabriziopandini
Copy link
Member

@ykakarap EasyCLA is not blocking yet, but please report your issue following instructions provided in https://groups.google.com/g/kubernetes-dev/c/-mdBNXLYZ_Y/m/Bp7B4W7IAAAJ

@fabriziopandini
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 1, 2021
@ykakarap
Copy link
Contributor Author

ykakarap commented Dec 1, 2021

@ykakarap EasyCLA is not blocking yet, but please report your issue following instructions provided in https://groups.google.com/g/kubernetes-dev/c/-mdBNXLYZ_Y/m/Bp7B4W7IAAAJ

I already reported it here. So I guess there is nothing to be done for now. :)

api/v1beta1/condition_consts.go Outdated Show resolved Hide resolved
api/v1beta1/condition_consts.go Show resolved Hide resolved
controllers/topology/conditions.go Outdated Show resolved Hide resolved
controllers/topology/desired_state.go Show resolved Hide resolved
controllers/topology/desired_state.go Show resolved Hide resolved
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.

Great work! Mostly nits from my side

api/v1beta1/condition_consts.go Outdated Show resolved Hide resolved
api/v1beta1/condition_consts.go Show resolved Hide resolved
controllers/topology/internal/scope/upgradetracker.go Outdated Show resolved Hide resolved
controllers/topology/cluster_controller.go Outdated Show resolved Hide resolved
controllers/topology/conditions.go Outdated Show resolved Hide resolved
controllers/topology/conditions.go Outdated Show resolved Hide resolved
controllers/topology/conditions.go Outdated Show resolved Hide resolved
controllers/topology/conditions_test.go Show resolved Hide resolved
controllers/topology/conditions_test.go Outdated Show resolved Hide resolved
@ykakarap ykakarap force-pushed the cluster-topology-conditions-4 branch from 968bf92 to 0dd8b08 Compare December 2, 2021 23:37
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 2, 2021
api/v1beta1/condition_consts.go Outdated Show resolved Hide resolved
controllers/topology/cluster_controller_test.go Outdated Show resolved Hide resolved
@ykakarap ykakarap force-pushed the cluster-topology-conditions-4 branch from 0dd8b08 to 69641bb Compare December 3, 2021 18:08
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 3, 2021
@ykakarap ykakarap force-pushed the cluster-topology-conditions-4 branch from 69641bb to 21be619 Compare December 3, 2021 18:14
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 3, 2021
@sbueringer
Copy link
Member

Thx and again great work!

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 3, 2021
Copy link
Member

@vincepri vincepri left a comment

Choose a reason for hiding this comment

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

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vincepri

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:

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 3, 2021
@vincepri
Copy link
Member

vincepri commented Dec 3, 2021

Great job @ykakarap !

Thanks for addressing all the comments

@k8s-ci-robot k8s-ci-robot merged commit 0a79c4f into kubernetes-sigs:main Dec 3, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.1 milestone Dec 3, 2021
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. 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/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants