-
Notifications
You must be signed in to change notification settings - 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
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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
@@ -104,6 +104,13 @@ proposal because most of the changes described below are a consequence of the wo | |||
- 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
must be propagated to machines without triggering rollouts. | ||
See [In place propagation of changes affecting Kubernetes objects only] as well as [Metadata propagation] for more details. | ||
|
||
<aside class="note warning"> |
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.
Let's document this in the migration guide too, under contract changes
Signed-off-by: Stefan Büringer buringerst@vmware.com
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