Skip to content

Commit

Permalink
Merge pull request #684 from SchSeba/support_k8s_cluster_version
Browse files Browse the repository at this point in the history
add support to specifi cluster version for k8s CI
  • Loading branch information
SchSeba authored Apr 24, 2024
2 parents 3e804f8 + 62a6f01 commit b7ec5ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hack/run-e2e-conformance-virtual-cluster.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
set -xeo pipefail

cluster_version=${CLUSTER_VERSION:-1.29.3}
cluster_name=${CLUSTER_NAME:-virtual}
domain_name=$cluster_name.lab

Expand Down Expand Up @@ -52,6 +53,7 @@ kcli create network -c 192.168.124.0/24 k8s
kcli create network -c 192.168.${virtual_router_id}.0/24 --nodhcp -i $cluster_name

cat <<EOF > ./${cluster_name}-plan.yaml
version: $cluster_version
ctlplane_memory: 4096
worker_memory: 4096
pool: default
Expand Down

0 comments on commit b7ec5ae

Please sign in to comment.