Skip to content

Commit

Permalink
bump IPAM API to v1beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanderp3 committed Dec 11, 2023
1 parent dd1ae98 commit 971cc4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions cmd/mapi-static-ip-controller/mapi-static-ip-controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@ package main
import (
"context"
"fmt"
"github.com/pkg/errors"
corev1 "k8s.io/api/core/v1"
"os"
"strings"
"sync"

"github.com/pkg/errors"
corev1 "k8s.io/api/core/v1"

osclientset "github.com/openshift/client-go/config/clientset/versioned"
mapiclientset "github.com/openshift/client-go/machine/clientset/versioned"
log "github.com/sirupsen/logrus"
"k8s.io/apimachinery/pkg/types"
ipamv1 "sigs.k8s.io/cluster-api/exp/ipam/api/v1alpha1"
ipamv1 "sigs.k8s.io/cluster-api/exp/ipam/api/v1beta1"
"sigs.k8s.io/controller-runtime/pkg/builder"
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/client/config"
Expand Down
3 changes: 2 additions & 1 deletion pkg/mgmt/ipmgmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import (
"errors"
"fmt"
"net/netip"
ipamv1 "sigs.k8s.io/cluster-api/exp/ipam/api/v1alpha1"

ipamv1 "sigs.k8s.io/cluster-api/exp/ipam/api/v1beta1"

goipam "github.com/metal-stack/go-ipam"
log "github.com/sirupsen/logrus"
Expand Down

0 comments on commit 971cc4f

Please sign in to comment.