Skip to content

Commit c1e2eb2

Browse files
authored
Merge pull request #12543 from fabriziopandini/documenct-certvalidity-fields
📖 Document new certificateValidity fields
2 parents 479a9c0 + a52d47d commit c1e2eb2

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)
@@ -2091,6 +2095,8 @@ spec:
20912095
serverCertSANs: [ ... ]
20922096
featureGates: { ...}
20932097
imageRepository: ""
2098+
certificateValidityPeriodDays: 365
2099+
caCertificateValidityPeriodDays: 3650
20942100
scheduler:
20952101
extraArgs:
20962102
name: "v"
@@ -2251,6 +2257,8 @@ status:
22512257
Use `spec.kubeadmConfigSpec.initConfiguration.timeouts.controlPlaneComponentHealthCheckSeconds` and `spec.kubeadmConfigSpec.joinConfiguration.timeouts.controlPlaneComponentHealthCheckSeconds` instead;
22522258
however, using different timeouts for init and join will be enabled only when v1beta1 is removed
22532259
- `spec.kubeadmConfigSpec.joinConfiguration.discovery.timeout` field has been removed. Use `spec.kubeadmConfigSpec.joinConfiguration.timeouts.tlsBootstrapSeconds` instead
2260+
- The `spec.kubeadmConfigSpec.clusterConfiguration.certificateValidityPeriodDays` and `spec.kubeadmConfigSpec.clusterConfiguration.caCertificateValidityPeriodDays` have been
2261+
added thus aligning with kubeadm v1beta4 API
22542262
- The `spec.kubeadmConfigSpec.clusterConfiguration.apiServer` field does not embed `ControlPlaneComponent` anymore (avoid embedding structs)
22552263
- `extraArgs`, `extraVolumes`, `extraEnvs` fields have been added to the `spec.kubeadmConfigSpec.clusterConfiguration.apiServer` struct
22562264
- The type of the `spec.kubeadmConfigSpec.clusterConfiguration.controllerManager` field has been changed from `ControlPlaneComponent` to `ControllerManager` (avoid embedding structs)

0 commit comments

Comments
 (0)