Skip to content

Commit

Permalink
chore(deps): Update to CAPI v1.5.8 and others
Browse files Browse the repository at this point in the history
  • Loading branch information
hrak committed Jul 12, 2024
1 parent fc531ce commit 6bfff95
Show file tree
Hide file tree
Showing 8 changed files with 156 additions and 133 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ delete-kind-cluster:
kind delete cluster --name $(KIND_CLUSTER_NAME)

cluster-api: ## Clone cluster-api repository for tilt use.
git clone --branch v1.5.7 --depth 1 https://github.com/kubernetes-sigs/cluster-api.git
git clone --branch v1.5.8 --depth 1 https://github.com/kubernetes-sigs/cluster-api.git

cluster-api/tilt-settings.json: hack/tilt-settings.json cluster-api
cp ./hack/tilt-settings.json cluster-api
Expand Down
36 changes: 18 additions & 18 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ module sigs.k8s.io/cluster-api-provider-cloudstack
go 1.21

require (
github.com/apache/cloudstack-go/v2 v2.16.0
github.com/go-logr/logr v1.4.1
github.com/apache/cloudstack-go/v2 v2.16.1
github.com/go-logr/logr v1.4.2
github.com/golang/mock v1.6.0
github.com/hashicorp/go-multierror v1.1.1
github.com/jellydator/ttlcache/v3 v3.2.0
github.com/onsi/ginkgo/v2 v2.11.0
github.com/onsi/gomega v1.27.8
github.com/onsi/ginkgo/v2 v2.19.0
github.com/onsi/gomega v1.33.1
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.19.1
github.com/smallfish/simpleyaml v0.1.0
github.com/spf13/pflag v1.0.5
golang.org/x/text v0.14.0
golang.org/x/text v0.16.0
gopkg.in/yaml.v3 v3.0.1
k8s.io/api v0.27.14
k8s.io/apimachinery v0.27.14
k8s.io/client-go v0.27.14
k8s.io/component-base v0.27.14
k8s.io/klog/v2 v2.90.1
k8s.io/utils v0.0.0-20230505201702-9f6742963106
sigs.k8s.io/cluster-api v1.5.7
sigs.k8s.io/cluster-api v1.5.8
sigs.k8s.io/controller-runtime v0.15.3
)

Expand All @@ -34,22 +34,23 @@ require (
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/coredns/caddy v1.1.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-openapi/jsonpointer v0.19.6 // indirect
github.com/go-openapi/jsonreference v0.20.1 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/swag v0.22.3 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/gobuffalo/flect v1.0.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/gnostic v0.6.9 // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/imdario/mergo v0.3.13 // indirect
Expand All @@ -64,23 +65,22 @@ require (
github.com/prometheus/common v0.48.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/spf13/cobra v1.7.0 // indirect
go.uber.org/atomic v1.10.0 // indirect
golang.org/x/net v0.23.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/oauth2 v0.16.0 // indirect
golang.org/x/sync v0.5.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/term v0.18.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/term v0.20.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.16.1 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
gomodules.xyz/jsonpatch/v2 v2.3.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
k8s.io/apiextensions-apiserver v0.27.14 // indirect
k8s.io/cluster-bootstrap v0.27.14 // indirect
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)
119 changes: 71 additions & 48 deletions go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions hack/tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ require (
)

replace (
sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v1.5.7
sigs.k8s.io/cluster-api/test => sigs.k8s.io/cluster-api/test v1.5.7
sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v1.5.8
sigs.k8s.io/cluster-api/test => sigs.k8s.io/cluster-api/test v1.5.8
)
4 changes: 2 additions & 2 deletions hack/tools/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ k8s.io/klog/v2 v2.110.1 h1:U/Af64HJf7FcwMcXyKm2RPM22WZzyR7OSpYj5tg3cL0=
k8s.io/klog/v2 v2.110.1/go.mod h1:YGtd1984u+GgbuZ7e08/yBuAfKLSO0+uR1Fhi6ExXjo=
k8s.io/utils v0.0.0-20230209194617-a36077c30491 h1:r0BAOLElQnnFhE/ApUsg3iHdVYYPBjNSSOMowRZxxsY=
k8s.io/utils v0.0.0-20230209194617-a36077c30491/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
sigs.k8s.io/cluster-api v1.5.7 h1:/qobSDBc0wLIlr2PMgHysmwFCAhg80t5MznSz+x5pOE=
sigs.k8s.io/cluster-api v1.5.7/go.mod h1:I2swI7MWO5PRfIf0k/nlrjX/guMSVe7+C0hQu9TGMSc=
sigs.k8s.io/cluster-api v1.5.8 h1:flOuCuCDX129aqZ9qN0l1a6ZKdWTOlJGZgDOQlccP8w=
sigs.k8s.io/cluster-api v1.5.8/go.mod h1:V8qEU5hfbHtWtiRxnJ6+ytFW6bbyjHLZY3DBSyQCGA0=
sigs.k8s.io/cluster-api/hack/tools v0.0.0-20240311182002-eeab3ceb5ecc h1:YNVYlb2EBQwE+BrYRyxXymRlbblU/JS11yC1TL9Kisc=
sigs.k8s.io/cluster-api/hack/tools v0.0.0-20240311182002-eeab3ceb5ecc/go.mod h1:yv3WQ/1osKOOfvInXmY7Bj/XHDG57suL6NXBdW5h8Rg=
sigs.k8s.io/kubebuilder/docs/book/utils v0.0.0-20211028165026-57688c578b5d h1:KLiQzLW3RZJR19+j4pw2h5iioyAyqCkDBEAFdnGa3N8=
Expand Down
26 changes: 13 additions & 13 deletions test/e2e/config/cloudstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@ images:
## PLEASE KEEP THESE UP TO DATE WITH THE COMPONENTS

# Cluster API v1beta1 Preloads
- name: gcr.io/k8s-staging-cluster-api/cluster-api-controller:v1.5.7
- name: gcr.io/k8s-staging-cluster-api/cluster-api-controller:v1.5.8
loadBehavior: tryLoad
- name: gcr.io/k8s-staging-cluster-api/kubeadm-bootstrap-controller:v1.5.7
- name: gcr.io/k8s-staging-cluster-api/kubeadm-bootstrap-controller:v1.5.8
loadBehavior: tryLoad
- name: gcr.io/k8s-staging-cluster-api/kubeadm-control-plane-controller:v1.5.7
- name: gcr.io/k8s-staging-cluster-api/kubeadm-control-plane-controller:v1.5.8
loadBehavior: tryLoad
- name: gcr.io/k8s-staging-cluster-api/capd-manager-amd64:v1.5.7
- name: gcr.io/k8s-staging-cluster-api/capd-manager-amd64:v1.5.8
loadBehavior: tryLoad
- name: quay.io/jetstack/cert-manager-cainjector:v1.14.2
- name: quay.io/jetstack/cert-manager-cainjector:v1.14.4
loadBehavior: tryLoad
- name: quay.io/jetstack/cert-manager-webhook:v1.14.2
- name: quay.io/jetstack/cert-manager-webhook:v1.14.4
loadBehavior: tryLoad
- name: quay.io/jetstack/cert-manager-controller:v1.14.2
- name: quay.io/jetstack/cert-manager-controller:v1.14.4
loadBehavior: tryLoad

providers:
- name: cluster-api
type: CoreProvider
versions:
- name: v1.5.7
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.7/core-components.yaml"
- name: v1.5.8
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.8/core-components.yaml"
type: "url"
contract: v1beta1
replacements:
Expand All @@ -47,8 +47,8 @@ providers:
- name: kubeadm
type: BootstrapProvider
versions:
- name: v1.5.7
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.7/bootstrap-components.yaml"
- name: v1.5.8
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.8/bootstrap-components.yaml"
type: "url"
contract: v1beta1
replacements:
Expand All @@ -60,8 +60,8 @@ providers:
- name: kubeadm
type: ControlPlaneProvider
versions:
- name: v1.5.7
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.7/control-plane-components.yaml"
- name: v1.5.8
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.8/control-plane-components.yaml"
type: "url"
contract: v1beta1
replacements:
Expand Down
30 changes: 15 additions & 15 deletions test/e2e/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ go 1.21

require (
github.com/Shopify/toxiproxy/v2 v2.5.0
github.com/apache/cloudstack-go/v2 v2.16.0
github.com/apache/cloudstack-go/v2 v2.16.1
github.com/blang/semver v3.5.1+incompatible
github.com/onsi/ginkgo/v2 v2.11.0
github.com/onsi/gomega v1.27.8
github.com/onsi/ginkgo/v2 v2.19.0
github.com/onsi/gomega v1.33.1
gopkg.in/yaml.v3 v3.0.1
k8s.io/api v0.27.14
k8s.io/apimachinery v0.27.14
k8s.io/klog/v2 v2.90.1
k8s.io/utils v0.0.0-20230711102312-30195339c3c7
sigs.k8s.io/cluster-api v1.5.7
sigs.k8s.io/cluster-api/test v1.5.7
sigs.k8s.io/cluster-api v1.5.8
sigs.k8s.io/cluster-api/test v1.5.8
sigs.k8s.io/controller-runtime v0.15.3
)

Expand All @@ -36,19 +36,19 @@ require (
github.com/coredns/corefile-migration v1.0.21 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/docker/distribution v2.8.2+incompatible // indirect
github.com/docker/docker v24.0.7+incompatible // indirect
github.com/docker/docker v24.0.9+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.4.0 // indirect
github.com/drone/envsubst/v2 v2.0.0-20210730161058-179042472c46 // indirect
github.com/emicklei/go-restful/v3 v3.10.2 // indirect
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-logr/logr v1.3.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-openapi/jsonpointer v0.19.6 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/swag v0.22.3 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/gobuffalo/flect v1.0.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
Expand All @@ -61,7 +61,7 @@ require (
github.com/google/go-github/v48 v48.2.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 // indirect
github.com/google/safetext v0.0.0-20220905092116-b49f7bc46da2 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
Expand Down Expand Up @@ -99,14 +99,14 @@ require (
github.com/stoewer/go-strcase v1.2.0 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
github.com/valyala/fastjson v1.6.4 // indirect
golang.org/x/crypto v0.21.0 // indirect
golang.org/x/net v0.23.0 // indirect
golang.org/x/crypto v0.23.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/oauth2 v0.11.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/term v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/term v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.16.1 // indirect
golang.org/x/tools v0.21.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.3.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d // indirect
Expand Down
Loading

0 comments on commit 6bfff95

Please sign in to comment.