Skip to content

Commit 140b337

Browse files
committed
Update migration doc
1 parent e9498d0 commit 140b337

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/book/src/developer/providers/migrations/v1.10-to-v1.11.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@ status:
644644
- The type of the `spec.paused` field has been changed from `bool` to `*bool` (compliance with K8s API guidelines)
645645
- A new `spec.rollout` field has been introduced, it combines previous `spec.rolloutAfter` and `spec.strategy` fields.
646646
The Go structs have been modified accordingly. For more details see YAML above (improve consistency)
647+
- The type of the `spec.rollout.after`, previously `spec.rolloutAfter`, field has been changed from `*metav1.Time` to `metav1.Time` (drop unnecessary pointers)
647648
- The type of the `spec.remediation` field, previously `spec.strategy.remediation`, has been changed from `*RemediationStrategy` to `MachineDeploymentRemediationSpec` (improve consistency, drop unnecessary pointers)
648649
- The type of the `spec.deletion.order` field, previously `spec.strategy.rollingUpdate.deletePolicy`, has been changed from `*string` to `MachineSetDeletionOrder` (improve consistency)
649650
- The `spec.revisionHistoryLimit` field has been removed. The MachineDeployment controller will now clean up all MachineSets without replicas (tech debt)
@@ -1084,6 +1085,11 @@ status:
10841085
- The const values for `Failed` phase has been deprecated in the enum type for `status.phase` (controllers are not setting this value anymore)
10851086
- The type of the `status.nodeRef` field has been changed from `corev1.ObjectReference` to `MachineNodeReference` (improve object references)
10861087
- The following fields have been removed from `status.nodeRef`: `kind`, `namespace`, `uid`, `apiVersion`, `resourceVersion`, `fieldPath`
1088+
- The type of the following fields has been changed from `*metav1.Time` to `metav1.Time` (drop unnecessary pointers)
1089+
- `status.lastUpdated`
1090+
- `status.certificatesExpiryDate`
1091+
- `status.deletion.nodeDrainStartTime`
1092+
- `status.deletion.waitForNodeVolumeDetachStartTime`
10871093

10881094
### MachineHealthCheck
10891095

@@ -1858,6 +1864,7 @@ status:
18581864
- All fields of type Duration in `spec.initConfiguration.bootstrapTokens[]` have
18591865
been renamed by adding the `Seconds` suffix and their type was changed to int32 (compliance with K8s API guidelines)
18601866
- `.ttl` => `.ttlSeconds`
1867+
- The type of the `spec.initConfiguration.bootstrapTokens[].expires` field has been changed from `*metav1.Time` to `metav1.Time` (drop unnecessary pointers)
18611868
- `status.conditions` has been replaced with `status.v1beta2.conditions` based on metav1 condition types (improve status)
18621869
- the old `status.conditions` based on custom cluster API condition types will continue to exist temporarily
18631870
under `status.deprecated.v1beta1.conditions` for the sake of down conversions and to provide a temporary option
@@ -2267,6 +2274,7 @@ status:
22672274
- All fields of type Duration in `spec.kubeadmConfigSpec.initConfiguration.bootstrapTokens[]` have
22682275
been renamed by adding the `Seconds` suffix and their type was changed to int32 (compliance with K8s API guidelines)
22692276
- `.ttl` => `.ttlSeconds`
2277+
- The type of the `spec.kubeadmConfigSpec.initConfiguration.bootstrapTokens[].expires` field has been changed from `*metav1.Time` to `metav1.Time` (drop unnecessary pointers)
22702278
- All fields of type Duration in `spec.machineTemplate` have
22712279
been renamed by adding the `Seconds` suffix, moved into the `deletion` section and their type was changed to int32 (compliance with K8s API guidelines)
22722280
- `nodeDrainTimeout` => `deletion.nodeDrainTimeoutSeconds`
@@ -2280,6 +2288,7 @@ status:
22802288
- The type of the `spec.remediation` field (previously `spec.remediationStrategy`) has been changed from `RemediationStrategy` to `KubeadmControlPlaneRemediationSpec` (improve consistency)
22812289
- A new `spec.rollout` field has been introduced, it combines previous `spec.rolloutBefore`, `spec.rolloutAfter` and `spec.rolloutStrategy` fields.
22822290
The Go structs have been modified accordingly. For more details see YAML above (improve consistency)
2291+
- The type of the `spec.rollout.after`, previously `spec.rolloutAfter`, field has been changed from `*metav1.Time` to `metav1.Time` (drop unnecessary pointers)
22832292
- The type of the `spec.remediation.retryPeriodSeconds` field (previously `spec.remediationStrategy.retryPeriod`) has been changed from `*string` to `string` (drop unnecessary pointers)
22842293
- `status.conditions` has been replaced with `status.v1beta2.conditions` based on metav1 condition types (improve status)
22852294
- the old `status.conditions` based on custom cluster API condition types will continue to exist temporarily
@@ -2391,7 +2400,8 @@ spec:
23912400
</table>
23922401

23932402
- See changes that apply to [all CRDs](#all-crds)
2394-
- The type of the `spec.binding` field has been changed from `[]*ResourceSetBinding` to `[]ResourceSetBinding` (drop unnecessary pointers)
2403+
- The type of the `spec.bindings` field has been changed from `[]*ResourceSetBinding` to `[]ResourceSetBinding` (drop unnecessary pointers)
2404+
- The type of the `spec.bindings[].resources[].lastAppliedTime` field has been changed from `*metav1.Time` to `metav1.Time` (drop unnecessary pointers)
23952405
- Remove deprecated `ClusterResourceSetBinding.DeleteBinding` func
23962406

23972407
### ExtensionConfig

0 commit comments

Comments
 (0)