You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/src/tasks/experimental-features/cluster-class/write-clusterclass.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -985,7 +985,7 @@ A workaround in this particular case is to create the array in the patch instead
985
985
When creating the slice, existing values would be overwritten so this should only be used when it does not exist.
986
986
987
987
The following example shows both cases to consider while writing a patch for adding a value to a slice.
988
-
This patch targets to add a file to the `files` slice of a `KubeadmConfigTemplate` which has [omitempty](https://github.com/kubernetes-sigs/cluster-api/blob/main/bootstrap/kubeadm/api/v1beta2/kubeadmconfig_types.go#L54) set.
988
+
This patch targets to add a file to the `files` slice of a `KubeadmConfigTemplate` which has [omitempty](https://github.com/kubernetes-sigs/cluster-api/blob/main/api/bootstrap/kubeadm/v1beta2/kubeadmconfig_types.go#L54) set.
989
989
990
990
{{#tabs name:"tab-configuration-patches" tabs:"Add to existing slice,Create slice"}}
0 commit comments