Skip to content

Commit a52d47d

Browse files
Document certificateValidityPeriodDays caCertificateValidityPeriodDays fields
1 parent 16d7356 commit a52d47d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1726,6 +1726,8 @@ spec:
17261726
serverCertSANs: [ ... ]
17271727
featureGates: { ... }
17281728
imageRepository: ""
1729+
certificateValidityPeriodDays: 365
1730+
caCertificateValidityPeriodDays: 3650
17291731
scheduler:
17301732
extraArgs:
17311733
- name: "v"
@@ -1838,6 +1840,8 @@ status:
18381840
Use `spec.initConfiguration.timeouts.controlPlaneComponentHealthCheckSeconds` and `spec.joinConfiguration.timeouts.controlPlaneComponentHealthCheckSeconds` instead;
18391841
however, using different timeouts for init and join will be enabled only when v1beta1 is removed
18401842
- `spec.joinConfiguration.discovery.timeout` field has been removed. Use `spec.joinConfiguration.timeouts.tlsBootstrapSeconds` instead
1843+
- The `spec.clusterConfiguration.certificateValidityPeriodDays` and `spec.clusterConfiguration.caCertificateValidityPeriodDays` have been
1844+
added thus aligning with kubeadm v1beta4 API
18411845
- The `spec.clusterConfiguration.apiServer` field does not embed `ControlPlaneComponent` anymore (avoid embedding structs)
18421846
- `extraArgs`, `extraVolumes`, `extraEnvs` fields have been added to the `spec.clusterConfiguration.apiServer` struct
18431847
- The type of the `spec.clusterConfiguration.controllerManager` field has been changed from `ControlPlaneComponent` to `ControllerManager` (avoid embedding structs)
@@ -2089,6 +2093,8 @@ spec:
20892093
serverCertSANs: [ ... ]
20902094
featureGates: { ...}
20912095
imageRepository: ""
2096+
certificateValidityPeriodDays: 365
2097+
caCertificateValidityPeriodDays: 3650
20922098
scheduler:
20932099
extraArgs:
20942100
name: "v"
@@ -2249,6 +2255,8 @@ status:
22492255
Use `spec.kubeadmConfigSpec.initConfiguration.timeouts.controlPlaneComponentHealthCheckSeconds` and `spec.kubeadmConfigSpec.joinConfiguration.timeouts.controlPlaneComponentHealthCheckSeconds` instead;
22502256
however, using different timeouts for init and join will be enabled only when v1beta1 is removed
22512257
- `spec.kubeadmConfigSpec.joinConfiguration.discovery.timeout` field has been removed. Use `spec.kubeadmConfigSpec.joinConfiguration.timeouts.tlsBootstrapSeconds` instead
2258+
- The `spec.kubeadmConfigSpec.clusterConfiguration.certificateValidityPeriodDays` and `spec.kubeadmConfigSpec.clusterConfiguration.caCertificateValidityPeriodDays` have been
2259+
added thus aligning with kubeadm v1beta4 API
22522260
- The `spec.kubeadmConfigSpec.clusterConfiguration.apiServer` field does not embed `ControlPlaneComponent` anymore (avoid embedding structs)
22532261
- `extraArgs`, `extraVolumes`, `extraEnvs` fields have been added to the `spec.kubeadmConfigSpec.clusterConfiguration.apiServer` struct
22542262
- The type of the `spec.kubeadmConfigSpec.clusterConfiguration.controllerManager` field has been changed from `ControlPlaneComponent` to `ControllerManager` (avoid embedding structs)

0 commit comments

Comments
 (0)