File tree Expand file tree Collapse file tree 9 files changed +11
-11
lines changed
Expand file tree Collapse file tree 9 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ import (
3535 _ "k8s.io/client-go/plugin/pkg/client/auth"
3636 cliflag "k8s.io/component-base/cli/flag"
3737 "k8s.io/klog/v2"
38- clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta1" //nolint:staticcheck // SA1019: We are unable to update the dependency at this time.
38+ clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta2"
3939 ctrl "sigs.k8s.io/controller-runtime"
4040 "sigs.k8s.io/controller-runtime/pkg/cache"
4141 "sigs.k8s.io/controller-runtime/pkg/client"
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ require (
99 github.com/onsi/ginkgo/v2 v2.25.3
1010 github.com/onsi/gomega v1.38.2
1111 github.com/pkg/errors v0.9.1
12- github.com/projectsveltos/libsveltos v1.1.0
12+ github.com/projectsveltos/libsveltos v1.1.1-0.20250913103127-453f2050df67
1313 github.com/spf13/pflag v1.0.10
1414 golang.org/x/text v0.29.0
1515 k8s.io/api v0.34.1
Original file line number Diff line number Diff line change @@ -111,8 +111,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
111111github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
112112github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g =
113113github.com/prashantv/gostub v1.1.0 /go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U =
114- github.com/projectsveltos/libsveltos v1.1.0 h1:QcBq3emJgUskCtwaX3mNFBg91mrga04zzvWpqTDU10w =
115- github.com/projectsveltos/libsveltos v1.1.0 /go.mod h1:pjM/s2wIcArFEk8uPRroCPNnV4cL/tlNozwb5ehoxhE =
114+ github.com/projectsveltos/libsveltos v1.1.1-0.20250913103127-453f2050df67 h1:NCxWU1p+W0DnXFfgS2FlMhopAOdl83LIvZLmIcN3Vpo =
115+ github.com/projectsveltos/libsveltos v1.1.1-0.20250913103127-453f2050df67 /go.mod h1:pjM/s2wIcArFEk8uPRroCPNnV4cL/tlNozwb5ehoxhE =
116116github.com/prometheus/client_golang v1.22.0 h1:rb93p9lokFEsctTys46VnV1kLCDpVZ0a/Y92Vm0Zc6Q =
117117github.com/prometheus/client_golang v1.22.0 /go.mod h1:R7ljNsLXhuQXYZYtw6GAE9AZg8Y7vEW5scdCXrWRXC0 =
118118github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E =
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import (
2121
2222 "k8s.io/apimachinery/pkg/runtime"
2323 "k8s.io/client-go/rest"
24- clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta1" //nolint:staticcheck // SA1019: We are unable to update the dependency at this time.
24+ clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta2"
2525 ctrl "sigs.k8s.io/controller-runtime"
2626 "sigs.k8s.io/controller-runtime/pkg/client"
2727 "sigs.k8s.io/controller-runtime/pkg/reconcile"
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import (
3636 "k8s.io/client-go/kubernetes"
3737 clientgoscheme "k8s.io/client-go/kubernetes/scheme"
3838 "k8s.io/client-go/rest"
39- clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta1" //nolint:staticcheck // SA1019: We are unable to update the dependency at this time.
39+ clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta2"
4040 ctrl "sigs.k8s.io/controller-runtime"
4141 "sigs.k8s.io/controller-runtime/pkg/client"
4242
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ package external
1515
1616const (
1717 clusterAPIGroup = "cluster.x-k8s.io"
18- clusterAPITestVersion = "v1beta1 "
18+ clusterAPITestVersion = "v1beta2 "
1919)
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import (
2727 appsv1 "k8s.io/api/apps/v1"
2828 corev1 "k8s.io/api/core/v1"
2929 "k8s.io/apimachinery/pkg/types"
30- clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta1" //nolint:staticcheck // SA1019: We are unable to update the dependency at this time.
30+ clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta2"
3131
3232 "github.com/projectsveltos/libsveltos/lib/k8s_utils"
3333 "github.com/projectsveltos/libsveltos/lib/sharding"
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import (
3333 clientgoscheme "k8s.io/client-go/kubernetes/scheme"
3434 "k8s.io/client-go/util/retry"
3535 "k8s.io/klog/v2"
36- clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta1" //nolint:staticcheck // SA1019: We are unable to update the dependency at this time.
36+ clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta2"
3737 "sigs.k8s.io/cluster-api/util"
3838 ctrl "sigs.k8s.io/controller-runtime"
3939 "sigs.k8s.io/controller-runtime/pkg/client"
@@ -145,7 +145,7 @@ var _ = BeforeSuite(func() {
145145 currentLabels [key ] = value
146146 currentCluster .Labels = currentLabels
147147 paused := false
148- currentCluster .Spec .Paused = paused
148+ currentCluster .Spec .Paused = & paused
149149
150150 annotations := currentCluster .Annotations
151151 if annotations == nil {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import (
2727 appsv1 "k8s.io/api/apps/v1"
2828 apierrors "k8s.io/apimachinery/pkg/api/errors"
2929 "k8s.io/apimachinery/pkg/types"
30- clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta1" //nolint:staticcheck // SA1019: We are unable to update the dependency at this time.
30+ clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta2"
3131
3232 "github.com/projectsveltos/libsveltos/lib/k8s_utils"
3333 "github.com/projectsveltos/libsveltos/lib/sharding"
You can’t perform that action at this time.
0 commit comments