Skip to content

Commit 19d5987

Browse files
committed
Improve migration doc & godocs
1 parent 2cef1f0 commit 19d5987

File tree

11 files changed

+28
-9
lines changed

11 files changed

+28
-9
lines changed

api/controlplane/kubeadm/v1beta2/kubeadmcontrolplanetemplate_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ type KubeadmControlPlaneTemplateSpec struct {
3636
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of KubeadmControlPlaneTemplate"
3737

3838
// KubeadmControlPlaneTemplate is the Schema for the kubeadmcontrolplanetemplates API.
39+
// NOTE: This CRD can only be used if the ClusterTopology feature gate is enabled.
3940
type KubeadmControlPlaneTemplate struct {
4041
metav1.TypeMeta `json:",inline"`
4142
// metadata is the standard object's metadata.

api/core/v1beta2/clusterclass_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ const (
7171
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of ClusterClass"
7272

7373
// ClusterClass is a template which can be used to create managed topologies.
74+
// NOTE: This CRD can only be used if the ClusterTopology feature gate is enabled.
7475
type ClusterClass struct {
7576
metav1.TypeMeta `json:",inline"`
7677
// metadata is the standard object's metadata.

api/core/v1beta2/machinepool_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ func (m *MachinePoolStatus) GetTypedPhase() MachinePoolPhase {
333333
// +k8s:conversion-gen=false
334334

335335
// MachinePool is the Schema for the machinepools API.
336+
// NOTE: This CRD can only be used if the MachinePool feature gate is enabled.
336337
type MachinePool struct {
337338
metav1.TypeMeta `json:",inline"`
338339
// metadata is the standard object's metadata.

api/core/v1beta2/zz_generated.openapi.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/runtime/hooks/v1alpha1/doc.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ limitations under the License.
1515
*/
1616

1717
// Package v1alpha1 contains the v1alpha1 RuntimeHooks.
18+
//
19+
// Note: This package contains the API of Runtime Hooks. It does not contain any Go types for CRDs.
1820
// +kubebuilder:object:generate=true
1921
// +k8s:openapi-gen=true
2022
package v1alpha1

api/runtime/v1beta2/extensionconfig_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ const (
220220
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of ExtensionConfig"
221221

222222
// ExtensionConfig is the Schema for the ExtensionConfig API.
223+
// NOTE: This CRD can only be used if the RuntimeSDK feature gate is enabled.
223224
type ExtensionConfig struct {
224225
metav1.TypeMeta `json:",inline"`
225226
// metadata is the standard object's metadata.

config/crd/bases/cluster.x-k8s.io_clusterclasses.yaml

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/cluster.x-k8s.io_machinepools.yaml

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/runtime.cluster.x-k8s.io_extensionconfigs.yaml

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controlplane/kubeadm/config/crd/bases/controlplane.cluster.x-k8s.io_kubeadmcontrolplanetemplates.yaml

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)