Skip to content

Commit af272ed

Browse files
jimmidysondkoshkin
andauthored
fixup! docs: Fix kubeadmconfigtemplate spec patch
Co-authored-by: Dimitri Koshkin <[email protected]>
1 parent 5133521 commit af272ed

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/content/customization/generic/auto-renewal-of-control-plane-certs.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ Applying this configuration will result in the following configuration being app
3333

3434
- ```yaml
3535
spec:
36-
kubeadmConfigSpec:
37-
rolloutBefore:
38-
certificatesExpiryDays: 30
36+
template:
37+
spec:
38+
rolloutBefore:
39+
certificatesExpiryDays: 30
3940
```
4041

4142
[Automatically rotating certificates using Kubeadm Control Plane provider]: https://cluster-api.sigs.k8s.io/tasks/certs/auto-rotate-certificates-in-kcp.html

0 commit comments

Comments
 (0)