Skip to content

Commit

Permalink
K8s-9467 merge upstream v1.58.2 (#54)
Browse files Browse the repository at this point in the history
* Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc (kubermatic#1731)

Bumps [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.42.0 to 0.46.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go-contrib@zpages/v0.42.0...zpages/v0.46.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Migrate to dl.k8s.io from kubernetes release bucket (kubermatic#1737)

Signed-off-by: Waleed Malik <[email protected]>

* Flatcar Support for GCE (kubermatic#1739)

* Flatcar Support for GCE

Signed-off-by: Waleed Malik <[email protected]>

* Update compatibility matrix

Signed-off-by: Waleed Malik <[email protected]>

---------

Signed-off-by: Waleed Malik <[email protected]>

* Update Prow jobs to build image with Go 1.21.5 (kubermatic#1746)

* Update Prow jobs to build image with Go 1.21.5

Signed-off-by: Marvin Beckers <[email protected]>

* Also update golang images

Signed-off-by: Marvin Beckers <[email protected]>

* Also update Dockerfile and Makefile

Signed-off-by: Marvin Beckers <[email protected]>

* Update OSM flags

Signed-off-by: Marvin Beckers <[email protected]>

* Use fixed build image

Signed-off-by: Marvin Beckers <[email protected]>

* ???

Signed-off-by: Marvin Beckers <[email protected]>

---------

Signed-off-by: Marvin Beckers <[email protected]>

* Deprecate sig-virtualization (kubermatic#1749)

with merge of sig-virtualization into sig-cluster-management, there is no need for standalone OWNERS hierarchy for kubevirt

Signed-off-by: Jan Wozniak <[email protected]>

* kubevirt: allow setting storage volume access types (kubermatic#1740)

this is important for live migration because only RWX volumes can be live migrated

Signed-off-by: Jan Wozniak <[email protected]>

* AWS: increase spot instance price (kubermatic#1754)

Signed-off-by: Waleed Malik <[email protected]>

* Adds field to check if a IP reservation is still valid, (kubermatic#1753)

if the IP is no longer valid a new one is requested.

This fixes a bug where we use an IP that expired already for a VM,
if the VM provisioning failed, which then leads to a race condition.
In which we wait for the VM provisioning to finish, but it can't due the IP being no longer useable,
but we also never request a new IP in that case.

Signed-off-by: Zofia hagenguth <[email protected]>

* webhook: refactor to use controller-runtime server (kubermatic#1751)

Refactor the webhook to use the controller-runtime provided
webhook.Server instead of a plain HTTP server. The biggest benefit this
brings, is it automatically loading changed certificate files instead of
forever using the ones present when the server was started.

This could have been implemented by using the controller-runtime
CertWatcher manually, but that would've been more code and aligning
machine-controller with the ecosystem-provided standards seems worth it.

Signed-off-by: Mara Sophie Grosch <[email protected]>

* Support for Kubernetes 1.29 (kubermatic#1755)

* Add support for kubernetes v1.29

Signed-off-by: Waleed Malik <[email protected]>

* Update dependencies and k8s API to v1.29

Signed-off-by: Waleed Malik <[email protected]>

* Enable in-tree providers

Signed-off-by: Waleed Malik <[email protected]>

* Update fixtures

Signed-off-by: Waleed Malik <[email protected]>

* Refactored code

Signed-off-by: Waleed Malik <[email protected]>

---------

Signed-off-by: Waleed Malik <[email protected]>

* Upgrade to Go 1.22 (kubermatic#1759)

* Upgrade to Go 1.22

Signed-off-by: Waleed Malik <[email protected]>

* Upgrade CRDs for OSM

Signed-off-by: Waleed Malik <[email protected]>

---------

Signed-off-by: Waleed Malik <[email protected]>

* Update prow jobs and remove yamllint image (kubermatic#1764)

Signed-off-by: Marvin Beckers <[email protected]>

* Remove TORCX_BINDIR from containerd binary call (kubermatic#1760)

Signed-off-by: Marvin Beckers <[email protected]>

* Support Edge Provider in Machine Controller (kubermatic#1765)

* support edge provider
Signed-off-by: Moath Qasim <[email protected]>

Signed-off-by: Moath Qasim <[email protected]>

* fix linting
Signed-off-by: Moath Qasim <[email protected]>

Signed-off-by: Moath Qasim <[email protected]>

---------

Signed-off-by: Moath Qasim <[email protected]>

* fix syseleven changes

* update fixtures

* update go version in unit tests github workflow

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Waleed Malik <[email protected]>
Signed-off-by: Marvin Beckers <[email protected]>
Signed-off-by: Jan Wozniak <[email protected]>
Signed-off-by: Zofia hagenguth <[email protected]>
Signed-off-by: Mara Sophie Grosch <[email protected]>
Signed-off-by: Moath Qasim <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Waleed Malik <[email protected]>
Co-authored-by: Marvin Beckers <[email protected]>
Co-authored-by: Jan Wozniak <[email protected]>
Co-authored-by: Andromeda <[email protected]>
Co-authored-by: Mara Sophie Grosch <[email protected]>
Co-authored-by: Moath Qasim <[email protected]>
Co-authored-by: Robert Nemeti <[email protected]>
  • Loading branch information
9 people authored Feb 21, 2024
1 parent 9df6c46 commit b332154
Show file tree
Hide file tree
Showing 159 changed files with 6,947 additions and 2,228 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.5
go-version-file: go.mod
cache: true
-
name: Run the tests
Expand Down
8 changes: 4 additions & 4 deletions .prow/e2e-features.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -63,7 +63,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -92,7 +92,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand All @@ -119,7 +119,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
4 changes: 2 additions & 2 deletions .prow/postsubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ postsubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- /bin/bash
- -c
Expand Down Expand Up @@ -54,7 +54,7 @@ postsubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/upload-gocache.sh"
resources:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-alibaba.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-anexia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
16 changes: 8 additions & 8 deletions .prow/provider-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -60,7 +60,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
env:
- name: OPERATING_SYSTEM_MANAGER
value: "false"
Expand Down Expand Up @@ -93,7 +93,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -124,7 +124,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -156,7 +156,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -187,7 +187,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -218,7 +218,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -249,7 +249,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
6 changes: 3 additions & 3 deletions .prow/provider-azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -60,7 +60,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -93,7 +93,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-digitalocean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-equinix-metal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-hetzner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-kubevirt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-linode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-nutanix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
4 changes: 2 additions & 2 deletions .prow/provider-openstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -62,7 +62,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-scaleway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-vmware-cloud-director.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
8 changes: 4 additions & 4 deletions .prow/provider-vsphere.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -60,7 +60,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -92,7 +92,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -124,7 +124,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
18 changes: 9 additions & 9 deletions .prow/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: golang:1.21.5
- image: golang:1.22.0
command:
- make
args:
Expand All @@ -42,7 +42,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: golang:1.21.5
- image: golang:1.22.0
command:
- make
args:
Expand All @@ -63,7 +63,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: golangci/golangci-lint:v1.54.1
- image: golangci/golangci-lint:v1.56.0
command:
- make
args:
Expand All @@ -83,11 +83,11 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/yamllint:0.1
- image: quay.io/kubermatic/build:go-1.22-node-18-3
command:
- "sh"
- "-c"
- "yamllint -c .yamllint.conf ."
- make
args:
- yamllint
resources:
requests:
memory: 32Mi
Expand Down Expand Up @@ -149,7 +149,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
- image: quay.io/kubermatic/build:go-1.22-node-18-kind-0.21-3
command:
- ./hack/verify-licenses.sh
resources:
Expand All @@ -165,7 +165,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: golang:1.21.5
- image: golang:1.22.0
command:
- make
args:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

ARG GO_VERSION=1.21.5
ARG GO_VERSION=1.22.0
FROM docker.io/golang:${GO_VERSION} AS builder
WORKDIR /go/src/github.com/kubermatic/machine-controller
COPY . .
RUN make all

FROM alpine:3.17
FROM alpine:3.19

RUN apk add --no-cache ca-certificates cdrkit

Expand Down
Loading

0 comments on commit b332154

Please sign in to comment.