Skip to content

Commit

Permalink
Prepare 2.26.0 beta.2 (#6865)
Browse files Browse the repository at this point in the history
* prepare 2.26.0-beta.2

* move MC

* codegen
  • Loading branch information
xrstf authored Sep 20, 2024
1 parent 9900ea0 commit b879317
Show file tree
Hide file tree
Showing 47 changed files with 338 additions and 339 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SHELL = /bin/bash -eu -o pipefail
export KUBERMATIC_EDITION ?= ee
KUBERMATIC_VERSION?=v2.26.0-beta.1
KUBERMATIC_VERSION?=v2.26.0-beta.2
DOCKER_REPO ?= quay.io/kubermatic
REPO = $(DOCKER_REPO)/dashboard$(shell [[ "$(KUBERMATIC_EDITION)" != "ce" ]] && printf -- '-%s' ${KUBERMATIC_EDITION})
IMAGE_TAG=$(shell echo $$(git rev-parse HEAD)|tr -d '\n')
Expand Down
2 changes: 1 addition & 1 deletion modules/api/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ linters-settings:
- pkg: sigs.k8s.io/controller-runtime/pkg/client
alias: ctrlruntimeclient
# Misc
- pkg: github.com/kubermatic/machine-controller/pkg/apis/cluster/v1alpha1
- pkg: k8c.io/machine-controller/pkg/apis/cluster/v1alpha1
alias: clusterv1alpha1
- pkg: github.com/Masterminds/semver/v3
alias: semverlib
2 changes: 1 addition & 1 deletion modules/api/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SHELL = /bin/bash -eu -o pipefail
export KUBERMATIC_EDITION ?= ee
KUBERMATIC_VERSION?=v2.26.0-beta.1
KUBERMATIC_VERSION?=v2.26.0-beta.2
DOCKER_REPO ?= quay.io/kubermatic
REPO = $(DOCKER_REPO)/dashboard$(shell [[ "$(KUBERMATIC_EDITION)" != "ce" ]] && printf -- '-%s' ${KUBERMATIC_EDITION})
IMAGE_TAG=$(shell echo $$(git rev-parse HEAD)|tr -d '\n')
Expand Down
2 changes: 1 addition & 1 deletion modules/api/cmd/kubermatic-api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ import (
velerov1 "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"go.uber.org/zap"

clusterv1alpha1 "github.com/kubermatic/machine-controller/pkg/apis/cluster/v1alpha1"
"k8c.io/dashboard/v2/pkg/handler"
"k8c.io/dashboard/v2/pkg/handler/auth"
"k8c.io/dashboard/v2/pkg/handler/v1/common"
Expand All @@ -80,6 +79,7 @@ import (
"k8c.io/kubermatic/v2/pkg/resources/certificates"
"k8c.io/kubermatic/v2/pkg/util/cli"
"k8c.io/kubermatic/v2/pkg/util/flagopts"
clusterv1alpha1 "k8c.io/machine-controller/pkg/apis/cluster/v1alpha1"
osmv1alpha1 "k8c.io/operating-system-manager/pkg/crd/osm/v1alpha1"

corev1 "k8s.io/api/core/v1"
Expand Down
8 changes: 4 additions & 4 deletions modules/api/cmd/kubermatic-api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -30017,7 +30017,7 @@
"x-go-name": "Servers"
}
},
"x-go-package": "github.com/kubermatic/machine-controller/pkg/providerconfig/types"
"x-go-package": "k8c.io/machine-controller/pkg/providerconfig/types"
},
"Datacenter": {
"type": "object",
Expand Down Expand Up @@ -32962,7 +32962,7 @@
"$ref": "#/definitions/UID"
}
},
"x-go-package": "github.com/kubermatic/machine-controller/pkg/providerconfig/types"
"x-go-package": "k8c.io/machine-controller/pkg/providerconfig/types"
},
"GlobalSecretKeySelector": {
"$ref": "#/definitions/GlobalObjectKeySelector"
Expand Down Expand Up @@ -33382,7 +33382,7 @@
},
"IPAllocationMode": {
"type": "string",
"x-go-package": "github.com/kubermatic/machine-controller/pkg/cloudprovider/provider/vmwareclouddirector/types"
"x-go-package": "k8c.io/machine-controller/pkg/cloudprovider/provider/vmwareclouddirector/types"
},
"IPBlock": {
"description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed\nto the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs\nthat should not be included within this rule.",
Expand Down Expand Up @@ -34687,7 +34687,7 @@
"x-go-name": "UpdatedReplicas"
}
},
"x-go-package": "github.com/kubermatic/machine-controller/pkg/apis/cluster/v1alpha1"
"x-go-package": "k8c.io/machine-controller/pkg/apis/cluster/v1alpha1"
},
"MachineFlavorFilter": {
"type": "object",
Expand Down
152 changes: 78 additions & 74 deletions modules/api/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,85 +17,89 @@ require (
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions v1.3.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/subscription/armsubscription v1.2.0
github.com/Azure/go-autorest/autorest/to v0.4.0
github.com/Masterminds/semver/v3 v3.2.1
github.com/aliyun/alibaba-cloud-sdk-go v1.62.784
github.com/aws/aws-sdk-go-v2 v1.30.1
github.com/aws/aws-sdk-go-v2/config v1.27.24
github.com/aws/aws-sdk-go-v2/credentials v1.17.24
github.com/aws/aws-sdk-go-v2/service/ec2 v1.168.0
github.com/Masterminds/semver/v3 v3.3.0
github.com/aliyun/alibaba-cloud-sdk-go v1.63.15
github.com/aws/aws-sdk-go-v2 v1.30.5
github.com/aws/aws-sdk-go-v2/config v1.27.33
github.com/aws/aws-sdk-go-v2/credentials v1.17.32
github.com/aws/aws-sdk-go-v2/service/ec2 v1.177.3
github.com/aws/aws-sdk-go-v2/service/eks v1.44.1
github.com/aws/aws-sdk-go-v2/service/iam v1.33.1
github.com/aws/aws-sdk-go-v2/service/sts v1.30.1
github.com/aws/smithy-go v1.20.3
github.com/aws/aws-sdk-go-v2/service/sts v1.30.7
github.com/aws/smithy-go v1.20.4
github.com/coreos/go-oidc v2.2.1+incompatible
github.com/cristim/ec2-instances-info v0.0.0-20221130144415-da4474e2a3d1
github.com/digitalocean/godo v1.118.0
github.com/digitalocean/godo v1.124.0
github.com/embik/nutanix-client-go v0.1.0
github.com/evanphx/json-patch v5.9.0+incompatible
github.com/go-jose/go-jose/v4 v4.0.2
github.com/go-kit/kit v0.13.0
github.com/go-kit/log v0.2.1
github.com/go-logr/zapr v1.3.0
github.com/go-openapi/errors v0.21.0
github.com/go-openapi/errors v0.22.0
github.com/go-openapi/runtime v0.27.1
github.com/go-openapi/strfmt v0.22.0
github.com/go-openapi/strfmt v0.23.0
github.com/go-openapi/swag v0.23.0
github.com/go-openapi/validate v0.23.0
github.com/go-openapi/validate v0.24.0
github.com/go-swagger/go-swagger v0.30.3
github.com/go-test/deep v1.1.1
github.com/google/go-cmp v0.6.0
github.com/gophercloud/gophercloud v1.12.0
github.com/gophercloud/gophercloud v1.14.0
github.com/gorilla/handlers v1.5.2
github.com/gorilla/mux v1.8.1
github.com/gorilla/securecookie v1.1.2
github.com/gorilla/websocket v1.5.1
github.com/hetznercloud/hcloud-go v1.57.0
github.com/kubermatic/machine-controller v1.59.1-0.20240826111717-3ead298cdda9
github.com/minio/minio-go/v7 v7.0.69
github.com/onsi/ginkgo v1.16.5
github.com/open-policy-agent/frameworks/constraint v0.0.0-20240206175643-9de2e6ab07f8 // v0.9.0+
github.com/open-policy-agent/gatekeeper/v3 v3.15.1
github.com/packethost/packngo v0.31.0
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.20.1
github.com/prometheus/client_golang v1.20.3
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.6-0.20210604193023-d5e0c0615ace
github.com/stretchr/testify v1.9.0
github.com/vmware-tanzu/velero v1.14.0
github.com/vmware/go-vcloud-director/v2 v2.25.0
github.com/vmware/govmomi v0.42.0
go.anx.io/go-anxcloud v0.7.2
github.com/vmware/govmomi v0.43.0
go.anx.io/go-anxcloud v0.7.3
go.uber.org/zap v1.27.0
golang.org/x/oauth2 v0.22.0
google.golang.org/api v0.187.0
golang.org/x/oauth2 v0.23.0
google.golang.org/api v0.197.0
gopkg.in/yaml.v3 v3.0.1
k8c.io/kubeone v1.7.3
k8c.io/kubermatic/v2 v2.26.0-beta.0.0.20240913170135-274f7e85663d
k8c.io/kubermatic/v2 v2.26.0-beta.1.0.20240919150623-b92c4ba58bd1
k8c.io/machine-controller v1.59.1-0.20240913134034-7f090ad5fc65
k8c.io/operating-system-manager v1.5.1-0.20240822183214-db378951daf3
k8c.io/reconciler v0.5.0
k8s.io/api v0.31.0
k8s.io/apiextensions-apiserver v0.31.0
k8s.io/apimachinery v0.31.0
k8s.io/apiserver v0.31.0
k8s.io/client-go v0.31.0
k8s.io/code-generator v0.31.0
k8s.io/api v0.31.1
k8s.io/apiextensions-apiserver v0.31.1
k8s.io/apimachinery v0.31.1
k8s.io/apiserver v0.31.1
k8s.io/client-go v0.31.1
k8s.io/code-generator v0.31.1
k8s.io/klog/v2 v2.130.1
k8s.io/kubectl v0.31.0
k8s.io/metrics v0.31.0
k8s.io/utils v0.0.0-20240821151609-f90d01438635
kubevirt.io/api v1.2.2
kubevirt.io/containerized-data-importer-api v1.59.0
k8s.io/kubectl v0.31.1
k8s.io/metrics v0.31.1
k8s.io/utils v0.0.0-20240902221715-702e33fdd3c3
kubevirt.io/api v1.3.1
kubevirt.io/containerized-data-importer-api v1.60.3
sigs.k8s.io/controller-runtime v0.19.0
sigs.k8s.io/controller-tools v0.16.1
sigs.k8s.io/yaml v1.4.0
)

// follow repository deprecation
replace github.com/ajeddeloh/go-json => github.com/coreos/go-json v0.0.0-20220810161552-7cce03887f34

// Pin prism-go-client to v0.4.0 as we have no way to test v0.5.1, as we don't have a working environment for Nutanix.
replace github.com/nutanix-cloud-native/prism-go-client => github.com/nutanix-cloud-native/prism-go-client v0.4.0

require (
cloud.google.com/go/auth v0.6.1 // indirect
cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect
cloud.google.com/go/compute/metadata v0.4.0 // indirect
cloud.google.com/go/auth v0.9.4 // indirect
cloud.google.com/go/auth/oauth2adapt v0.2.4 // indirect
cloud.google.com/go/compute/metadata v0.5.1 // indirect
dario.cat/mergo v1.0.0 // indirect
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
github.com/Azure/azure-sdk-for-go/sdk/internal v1.9.0 // indirect
Expand All @@ -115,14 +119,14 @@ require (
github.com/antlr4-go/antlr/v4 v4.13.0 // indirect
github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de // indirect
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.9 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.13 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.13 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.3 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.15 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.22.1 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.2 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.13 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.17 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.17 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.4 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.19 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.22.7 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.7 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/cert-manager/cert-manager v1.14.4 // indirect
Expand All @@ -143,12 +147,12 @@ require (
github.com/go-logfmt/logfmt v0.6.0 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-openapi/analysis v0.22.2 // indirect
github.com/go-openapi/analysis v0.23.0 // indirect
github.com/go-openapi/inflect v0.19.0 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.21.0 // indirect
github.com/go-openapi/loads v0.21.5 // indirect
github.com/go-openapi/spec v0.20.14 // indirect
github.com/go-openapi/loads v0.22.0 // indirect
github.com/go-openapi/spec v0.21.0 // indirect
github.com/gobuffalo/flect v1.0.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
Expand All @@ -159,10 +163,10 @@ require (
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/gofuzz v1.2.1-0.20210504230335-f78f29fc09ea // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/s2a-go v0.1.8 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.5 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
github.com/googleapis/gax-go/v2 v2.13.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
Expand All @@ -178,6 +182,7 @@ require (
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/kubermatic/machine-controller v1.59.1-0.20240821075210-107e3514d267 // indirect
github.com/kubernetes-csi/external-snapshotter/client/v7 v7.0.0 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
Expand All @@ -195,22 +200,21 @@ require (
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
github.com/nutanix-cloud-native/prism-go-client v0.4.0 // indirect
github.com/nutanix-cloud-native/prism-go-client v0.5.1 // indirect
github.com/nxadm/tail v1.4.11 // indirect
github.com/oklog/ulid v1.3.1 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.1.0 // indirect
github.com/openshift/api v0.0.0-20240708071937-c9a91940bf0f // indirect
github.com/openshift/custom-resource-status v1.1.2 // indirect
github.com/opentracing/opentracing-go v1.2.1-0.20220228012449-10b1cf09e00b // indirect
github.com/pborman/uuid v1.2.1 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
github.com/peterhellberg/link v1.2.0 // indirect
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/pquerna/cachecontrol v0.2.0 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.55.0 // indirect
github.com/prometheus/common v0.59.1 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/robfig/cron/v3 v3.0.1 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
Expand All @@ -222,33 +226,33 @@ require (
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.7.0 // indirect
github.com/spf13/viper v1.18.2 // indirect
github.com/spf13/viper v1.19.0 // indirect
github.com/stoewer/go-strcase v1.3.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/tinkerbell/tink v0.10.0 // indirect
github.com/tinkerbell/tink v0.10.1 // indirect
github.com/toqueteos/webbrowser v1.2.0 // indirect
github.com/x448/float16 v0.8.4 // indirect
go.mongodb.org/mongo-driver v1.13.1 // indirect
go.mongodb.org/mongo-driver v1.16.1 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 // indirect
go.opentelemetry.io/otel v1.28.0 // indirect
go.opentelemetry.io/otel/metric v1.28.0 // indirect
go.opentelemetry.io/otel/trace v1.28.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0 // indirect
go.opentelemetry.io/otel v1.30.0 // indirect
go.opentelemetry.io/otel/metric v1.30.0 // indirect
go.opentelemetry.io/otel/trace v1.30.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.26.0 // indirect
golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa // indirect
golang.org/x/mod v0.20.0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/crypto v0.27.0 // indirect
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect
golang.org/x/mod v0.21.0 // indirect
golang.org/x/net v0.29.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.24.0 // indirect
golang.org/x/term v0.23.0 // indirect
golang.org/x/text v0.17.0 // indirect
golang.org/x/sys v0.25.0 // indirect
golang.org/x/term v0.24.0 // indirect
golang.org/x/text v0.18.0 // indirect
golang.org/x/time v0.6.0 // indirect
golang.org/x/tools v0.24.0 // indirect
golang.org/x/tools v0.25.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240812133136-8ffd90a71988 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240812133136-8ffd90a71988 // indirect
google.golang.org/grpc v1.65.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
google.golang.org/grpc v1.66.2 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
Expand All @@ -258,11 +262,11 @@ require (
gopkg.in/yaml.v2 v2.4.0 // indirect
helm.sh/helm/v3 v3.14.3 // indirect
k8s.io/autoscaler/vertical-pod-autoscaler v1.0.0 // indirect
k8s.io/component-base v0.31.0 // indirect
k8s.io/gengo/v2 v2.0.0-20240812201722-3b05ca7b6e59 // indirect
k8s.io/component-base v0.31.1 // indirect
k8s.io/gengo/v2 v2.0.0-20240826214909-a7b603a56eb7 // indirect
k8s.io/klog v1.0.0 // indirect
k8s.io/kube-aggregator v0.31.0 // indirect
k8s.io/kube-openapi v0.0.0-20240816214639-573285566f34 // indirect
k8s.io/kube-aggregator v0.31.1 // indirect
k8s.io/kube-openapi v0.0.0-20240903163716-9e1beecbcb38 // indirect
kubevirt.io/controller-lifecycle-operator-sdk/api v0.2.4 // indirect
sigs.k8s.io/gateway-api v1.1.0 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
Expand Down
Loading

0 comments on commit b879317

Please sign in to comment.