Skip to content

Revert "Revert "chore: upgrade k8s version to 1.33"" #2797

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 6 additions & 6 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ jobs:
- name: Set up kind k8s cluster
uses: engineerd/[email protected]
with:
version: "v0.26.0"
image: kindest/node:v1.32.0@sha256:c48c62eac5da28cdadcf560d1d8616cfa6783b58f0d94cf63ad1bf49600cb027
version: "v0.27.0"
image: kindest/node:v1.33.0@sha256:02f73d6ae3f11ad5d543f16736a2cb2a63a300ad60e81dac22099b0b04784a4e

- name: Testing kind cluster set-up
run: |
Expand Down Expand Up @@ -183,8 +183,8 @@ jobs:
- name: Set up kind k8s cluster
uses: engineerd/[email protected]
with:
version: "v0.26.0"
image: kindest/node:v1.32.0@sha256:c48c62eac5da28cdadcf560d1d8616cfa6783b58f0d94cf63ad1bf49600cb027
version: "v0.27.0"
image: kindest/node:v1.33.0@sha256:02f73d6ae3f11ad5d543f16736a2cb2a63a300ad60e81dac22099b0b04784a4e

- name: Testing kind cluster set-up
run: |
Expand Down Expand Up @@ -299,8 +299,8 @@ jobs:
- name: Set up kind k8s cluster
uses: engineerd/[email protected]
with:
version: "v0.26.0"
image: kindest/node:v1.32.0@sha256:c48c62eac5da28cdadcf560d1d8616cfa6783b58f0d94cf63ad1bf49600cb027
version: "v0.27.0"
image: kindest/node:v1.33.0@sha256:02f73d6ae3f11ad5d543f16736a2cb2a63a300ad60e81dac22099b0b04784a4e

- name: Testing kind cluster set-up
run: |
Expand Down
4 changes: 2 additions & 2 deletions chart/tests/statefulset_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.initContainers[0].image
value: ghcr.io/loft-sh/kubernetes:v1.32.1
value: ghcr.io/loft-sh/kubernetes:v1.33.0

- it: k8s override image tag
set:
Expand Down Expand Up @@ -621,7 +621,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.initContainers[0].image
value: ghcr.io/loft-sh/kubernetes:v1.32.1
value: ghcr.io/loft-sh/kubernetes:v1.33.0

- it: k8s version sets image tag for apiServer and controllerManager (virtual scheduler enabled)
set:
Expand Down
4 changes: 2 additions & 2 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ controlPlane:
# Repository is the repository of the container image, e.g. my-repo/my-image
repository: "loft-sh/kubernetes"
# Tag is the tag of the container image, e.g. latest. If set to the default, it will use the host Kubernetes version.
tag: "v1.32.1"
tag: "v1.33.0"
# APIServer holds configuration specific to starting the api server.
apiServer:
enabled: true
Expand Down Expand Up @@ -275,7 +275,7 @@ controlPlane:
# Repository is the repository of the container image, e.g. my-repo/my-image
repository: "rancher/k3s"
# Tag is the tag of the container image, e.g. latest. If set to the default, it will use the host Kubernetes version.
tag: "v1.32.1-k3s1"
tag: "v1.33.0-k3s1"
# Security options can be used for the distro init container
securityContext: {}
# Resources for the distro init container
Expand Down
3 changes: 3 additions & 0 deletions config/default_extra_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,23 @@ const (

// K3SVersionMap holds the supported k3s versions
var K3SVersionMap = map[string]string{
"1.33": "rancher/k3s:v1.33.0-k3s1",
"1.32": "rancher/k3s:v1.32.1-k3s1",
"1.31": "rancher/k3s:v1.31.1-k3s1",
"1.30": "rancher/k3s:v1.30.2-k3s1",
}

// K8SVersionMap holds the supported k8s api servers
var K8SVersionMap = map[string]string{
"1.33": "ghcr.io/loft-sh/kubernetes:v1.33.0",
"1.32": "ghcr.io/loft-sh/kubernetes:v1.32.1",
"1.31": "ghcr.io/loft-sh/kubernetes:v1.31.1",
"1.30": "ghcr.io/loft-sh/kubernetes:v1.30.2",
}

// K8SEtcdVersionMap holds the supported etcd
var K8SEtcdVersionMap = map[string]string{
"1.33": "registry.k8s.io/etcd:3.5.21-0",
"1.32": "registry.k8s.io/etcd:3.5.21-0",
"1.31": "registry.k8s.io/etcd:3.5.15-0",
"1.30": "registry.k8s.io/etcd:3.5.13-0",
Expand Down
4 changes: 2 additions & 2 deletions config/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ controlPlane:
image:
registry: ghcr.io
repository: "loft-sh/kubernetes"
tag: "v1.32.1"
tag: "v1.33.0"
apiServer:
enabled: true
command: []
Expand Down Expand Up @@ -129,7 +129,7 @@ controlPlane:
image:
registry: ""
repository: "rancher/k3s"
tag: "v1.32.1-k3s1"
tag: "v1.33.0-k3s1"
securityContext: {}
resources:
limits:
Expand Down
90 changes: 45 additions & 45 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/loft-sh/vcluster

go 1.24
go 1.24.0

require (
github.com/aws/aws-sdk-go-v2 v1.36.0
Expand All @@ -18,7 +18,7 @@ require (
github.com/go-openapi/loads v0.21.2
github.com/google/go-containerregistry v0.20.3
github.com/google/go-github/v53 v53.2.1-0.20230815134205-bb00f570d301
github.com/gorilla/websocket v1.5.3
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674
github.com/hashicorp/go-hclog v0.14.1
github.com/hashicorp/go-plugin v1.6.0
github.com/hashicorp/golang-lru/v2 v2.0.2
Expand All @@ -35,10 +35,10 @@ require (
github.com/olekukonko/tablewriter v0.0.5
github.com/onsi/ginkgo/v2 v2.21.0
github.com/onsi/gomega v1.35.1
github.com/opencontainers/image-spec v1.1.0
github.com/opencontainers/image-spec v1.1.1
github.com/pkg/errors v0.9.1
github.com/prometheus/client_model v0.6.1
github.com/prometheus/common v0.60.0
github.com/prometheus/common v0.62.0
github.com/rhysd/go-github-selfupdate v1.2.3
github.com/samber/lo v1.38.1
github.com/sirupsen/logrus v1.9.3
Expand All @@ -49,33 +49,33 @@ require (
github.com/wk8/go-ordered-map/v2 v2.1.8
go.uber.org/atomic v1.11.0
golang.org/x/mod v0.22.0
google.golang.org/grpc v1.67.1
google.golang.org/protobuf v1.36.3
google.golang.org/grpc v1.68.1
google.golang.org/protobuf v1.36.5
gopkg.in/yaml.v3 v3.0.1
gotest.tools v2.2.0+incompatible
gotest.tools/v3 v3.5.1
k8s.io/api v0.32.1
k8s.io/apiextensions-apiserver v0.32.1
k8s.io/apimachinery v0.32.1
k8s.io/apiserver v0.32.1
k8s.io/cli-runtime v0.32.1
k8s.io/client-go v0.32.1
k8s.io/component-helpers v0.32.1
k8s.io/api v0.33.0
k8s.io/apiextensions-apiserver v0.33.0
k8s.io/apimachinery v0.33.0
k8s.io/apiserver v0.33.0
k8s.io/cli-runtime v0.33.0
k8s.io/client-go v0.33.0
k8s.io/component-helpers v0.33.0
k8s.io/klog/v2 v2.130.1
k8s.io/kube-aggregator v0.32.1
k8s.io/kubectl v0.32.1
k8s.io/kubelet v0.32.1
k8s.io/kubernetes v1.32.1
k8s.io/metrics v0.32.1
k8s.io/pod-security-admission v0.32.1
k8s.io/kube-aggregator v0.33.0
k8s.io/kubectl v0.33.0
k8s.io/kubelet v0.33.0
k8s.io/kubernetes v1.33.0
k8s.io/metrics v0.33.0
k8s.io/pod-security-admission v0.33.0
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738
oras.land/oras-go/v2 v2.5.0
sigs.k8s.io/controller-runtime v0.20.1
sigs.k8s.io/yaml v1.4.0
)

require (
cel.dev/expr v0.18.0 // indirect
cel.dev/expr v0.19.1 // indirect
github.com/AlecAivazis/survey/v2 v2.3.7 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/Sytten/logrus-zap-hook v0.1.0 // indirect
Expand Down Expand Up @@ -114,12 +114,12 @@ require (
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/google/cel-go v0.22.0 // indirect
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
github.com/google/cel-go v0.23.2 // indirect
github.com/google/gnostic-models v0.6.9 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 // indirect
github.com/hashicorp/yamux v0.1.1 // indirect
github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213 // indirect
github.com/klauspost/compress v1.17.11 // indirect
github.com/klauspost/compress v1.18.0 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/lithammer/dedent v1.1.0 // indirect
github.com/loft-sh/apiserver v0.0.0-20240607231110-634aeeab2b36 // indirect
Expand All @@ -137,18 +137,19 @@ require (
github.com/vbatts/tar-split v0.11.6 // indirect
github.com/x448/float16 v0.8.4 // indirect
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.30.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.30.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.33.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.33.0 // indirect
golang.org/x/sync v0.12.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240930140551-af27646dc61f // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240930140551-af27646dc61f // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
k8s.io/cluster-bootstrap v0.32.1 // indirect
k8s.io/cri-api v0.32.1 // indirect
k8s.io/cri-client v0.32.1 // indirect
k8s.io/kms v0.32.1 // indirect
k8s.io/kube-proxy v0.32.1 // indirect
k8s.io/cluster-bootstrap v0.33.0 // indirect
k8s.io/cri-api v0.33.0 // indirect
k8s.io/cri-client v0.33.0 // indirect
k8s.io/kms v0.33.0 // indirect
k8s.io/kube-proxy v0.33.0 // indirect
mvdan.cc/sh/v3 v3.6.0 // indirect
sigs.k8s.io/randfill v1.0.0 // indirect
)

require (
Expand Down Expand Up @@ -178,10 +179,9 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/btree v1.1.3 // indirect
github.com/google/go-cmp v0.6.0
github.com/google/go-cmp v0.7.0
github.com/google/go-github/v30 v30.1.0
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/uuid v1.6.0
Expand All @@ -207,7 +207,7 @@ require (
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
github.com/prometheus/client_golang v1.20.4 // indirect
github.com/prometheus/client_golang v1.22.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/tcnksm/go-gitconfig v0.1.2
github.com/ulikunitz/xz v0.5.11 // indirect
Expand All @@ -216,13 +216,13 @@ require (
go.etcd.io/etcd/client/pkg/v3 v3.5.21 // indirect
go.etcd.io/etcd/client/v3 v3.5.21
go.mongodb.org/mongo-driver v1.10.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.55.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.58.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect
go.opentelemetry.io/otel v1.33.0 // indirect
go.opentelemetry.io/otel/metric v1.33.0 // indirect
go.opentelemetry.io/otel/sdk v1.33.0 // indirect
go.opentelemetry.io/otel/trace v1.33.0 // indirect
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
go.opentelemetry.io/proto/otlp v1.4.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0
golang.org/x/crypto v0.36.0 // indirect
Expand All @@ -232,17 +232,17 @@ require (
golang.org/x/sys v0.31.0 // indirect
golang.org/x/term v0.30.0 // indirect
golang.org/x/text v0.23.0 // indirect
golang.org/x/time v0.7.0 // indirect
golang.org/x/time v0.9.0 // indirect
golang.org/x/tools v0.29.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
gopkg.in/yaml.v2 v2.4.0
k8s.io/component-base v0.32.1 // indirect
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.0 // indirect
k8s.io/component-base v0.33.0 // indirect
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 // indirect
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
sigs.k8s.io/kustomize/api v0.18.0 // indirect
sigs.k8s.io/kustomize/kyaml v0.18.1 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 // indirect
sigs.k8s.io/kustomize/api v0.19.0 // indirect
sigs.k8s.io/kustomize/kyaml v0.19.0 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
)
Loading
Loading