-
Couldn't load subscription status.
- Fork 1.4k
⚠️ Migrate API to use *Seconds instead of metav1.Duration fields #12327
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
Conversation
be504a8 to
9ef4092
Compare
|
/test pull-cluster-api-e2e-conformance-ci-latest-main |
9ef4092 to
47415fb
Compare
|
/test pull-cluster-api-e2e-conformance-ci-latest-main |
47415fb to
1972cd8
Compare
|
/hold Contains #12319 (but this PR is also not ready yet) |
|
/test pull-cluster-api-e2e-conformance-ci-latest-main |
3a4bfaa to
1dbd38b
Compare
|
/test pull-cluster-api-e2e-conformance-ci-latest-main |
1dbd38b to
bfef6b0
Compare
|
/test pull-cluster-api-e2e-conformance-ci-latest-main |
|
/test pull-cluster-api-e2e-main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM
I will take another look after rebase
| - The `unhealthyConditions` field has been renamed to `unhealthyNodeConditions` in following struct: | ||
| - `spec.topology.controlPlane.machineHealthCheck` | ||
| - `spec.topology.workers.machineDeployments[].machineHealthCheck` | ||
| - The following fields in `spec.topology.{controlPlane,workers.machineDeployments[],workers.machinePools[]` have been renamed: (their type was also changed from Duration to int) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit
| - The following fields in `spec.topology.{controlPlane,workers.machineDeployments[],workers.machinePools[]` have been renamed: (their type was also changed from Duration to int) | |
| - All the fields of type Duration in `spec.topology.{controlPlane,workers.machineDeployments[],workers.machinePools[]` have been renamed by adding the `Seconds` suffix and their type was changed to int32, thus aligning to K8s guidelines. |
Same in few other places
|
LGTM label has been added. Git tree hash: 3c98f897a75aac2c6f5132a8c6272886b8e36ed6
|
| - pairs: | ||
| # Note: This is needed so the topology reconciler can figure out | ||
| # the contract of v1beta1 when v1beta1 objects are used in ClusterClasses. | ||
| cluster.x-k8s.io/v1beta1: v1beta1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
TIL!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
I really like how consistency is improving across all the API types.
/lgtm
/approve
c076d14 to
a8afdf3
Compare
a8afdf3 to
6526ad5
Compare
|
/test pull-cluster-api-e2e-conformance-ci-latest-main |
|
/override pull-cluster-api-e2e-latestk8s-main Test was green enough :) (xref: https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/kubernetes-sigs_cluster-api/12327/pull-cluster-api-e2e-latestk8s-main/1932643934211674112) |
|
@sbueringer: Overrode contexts on behalf of sbueringer: pull-cluster-api-e2e-latestk8s-main In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
|
LGTM label has been added. Git tree hash: 6dcfa12bb3bf18705bcc2fa0199946fd583bdd3b
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini 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 |
Signed-off-by: Stefan Büringer [email protected]
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Part of #10852
WIP => not finished yet + contains multiple other PRs