Skip to content

Commit

Permalink
Add IPAM API to test framework convenience scheme
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Büringer buringerst@vmware.com
  • Loading branch information
sbueringer committed Jun 10, 2024
1 parent 39138b8 commit eb606a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/framework/convenience.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import (
controlplanev1 "sigs.k8s.io/cluster-api/controlplane/kubeadm/api/v1beta1"
addonsv1 "sigs.k8s.io/cluster-api/exp/addons/api/v1beta1"
expv1 "sigs.k8s.io/cluster-api/exp/api/v1beta1"
ipamv1 "sigs.k8s.io/cluster-api/exp/ipam/api/v1beta1"
runtimev1 "sigs.k8s.io/cluster-api/exp/runtime/api/v1alpha1"
)

Expand Down Expand Up @@ -68,6 +69,8 @@ func TryAddDefaultSchemes(scheme *runtime.Scheme) {
// Add the kubeadm controlplane scheme.
_ = controlplanev1.AddToScheme(scheme)

_ = ipamv1.AddToScheme(scheme)

// Add the api extensions (CRD) to the scheme.
_ = apiextensionsv1beta.AddToScheme(scheme)
_ = apiextensionsv1.AddToScheme(scheme)
Expand Down

0 comments on commit eb606a5

Please sign in to comment.