Skip to content

Commit dae8d75

Browse files
committed
Fix CRD generation
Signed-off-by: Dinar Valeev <[email protected]>
1 parent 879961e commit dae8d75

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

config/crd/kustomization.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ resources:
1313
- bases/infrastructure.cluster.x-k8s.io_awsmachinetemplates.yaml
1414
- bases/infrastructure.cluster.x-k8s.io_awsmachinepools.yaml
1515
- bases/infrastructure.cluster.x-k8s.io_awsmanagedmachinepools.yaml
16+
- bases/infrastructure.cluster.x-k8s.io_awsmanagedmachinepooltemplates.yaml
1617
- bases/infrastructure.cluster.x-k8s.io_awsclusterroleidentities.yaml
1718
- bases/infrastructure.cluster.x-k8s.io_awsclusterstaticidentities.yaml
1819
- bases/infrastructure.cluster.x-k8s.io_awsclustercontrolleridentities.yaml
1920
- bases/infrastructure.cluster.x-k8s.io_awsclustertemplates.yaml
2021
- bases/controlplane.cluster.x-k8s.io_awsmanagedcontrolplanes.yaml
22+
- bases/controlplane.cluster.x-k8s.io_awsmanagedcontrolplanetemplates.yaml
2123
- bases/infrastructure.cluster.x-k8s.io_awsmanagedclusters.yaml
2224
- bases/bootstrap.cluster.x-k8s.io_eksconfigs.yaml
2325
- bases/bootstrap.cluster.x-k8s.io_eksconfigtemplates.yaml
@@ -36,6 +38,7 @@ patchesStrategicMerge:
3638
- patches/webhook_in_awsclusterroleidentities.yaml
3739
- patches/webhook_in_awsclustertemplates.yaml
3840
- patches/webhook_in_awsmanagedcontrolplanes.yaml
41+
- patches/webhook_in_awsmanagedcontrolplanetemplates.yaml
3942
- patches/webhook_in_eksconfigs.yaml
4043
- patches/webhook_in_eksconfigtemplates.yaml
4144
# +kubebuilder:scaffold:crdkustomizewebhookpatch

controlplane/eks/api/v1beta2/awsmanagedcontrolplanetemplate_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type AWSManagedControlPlaneTemplateSpec struct {
2626
}
2727

2828
// +kubebuilder:object:root=true
29-
// +kubebuilder:resource:path=awsmanagedcontroleplanetemplates,scope=Namespaced,categories=cluster-api,shortName=awsmcpt
29+
// +kubebuilder:resource:path=awsmanagedcontrolplanetemplates,scope=Namespaced,categories=cluster-api,shortName=awsmcpt
3030
// +kubebuilder:storageversion
3131

3232
// AWSManagedControlPlaneTemplate is the Schema for AWSControlPlaneTemplate API

0 commit comments

Comments
 (0)