Skip to content
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

[Merged by Bors] - feat: support k8 v1.26 #3196

Closed
wants to merge 2 commits into from
Closed
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ env:
VERBOSE: ${{ github.events.input.verbose }}
K3D_VERSION: v5.4.9
BATS_VERSION: 1.9.0
MINIKUBE_VERSION: v1.29.0
K8_VERSION: 1.23.17
MINIKUBE_VERSION: v1.30.1
K8_VERSION: v1.26.3
TLS_ARGS: --tls --domain fluvio.local --server-key ./tls/certs/server.key --server-cert ./tls/certs/server.crt --ca-cert ./tls/certs/ca.crt --client-cert ./tls/certs/client-root.crt --client-key ./tls/certs/client-root.key
AUTH_FILE: crates/fluvio-sc/test-data/auth_config/policy.json
X509_SCOPE_FILE: crates/fluvio-sc/test-data/auth_config/scopes.json
Expand Down
5 changes: 4 additions & 1 deletion k8-util/cluster/reset-k3d.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
# delete and re-install k3d cluster ready for fluvio
# this defaults to docker and assume you have have sudo access
set -e

K8_VERSION=${K8_VERSION:-v1.26.3}

k3d cluster delete fluvio
k3d cluster create fluvio
k3d cluster create fluvio --image rancher/k3s:${K8_VERSION}-k3s1
6 changes: 3 additions & 3 deletions k8-util/cluster/reset-minikube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
# it uses docker as default driver
set -e
set -x
K8_VERSION=${2:-1.21.2}
K8_VERSION=${K8_VERSION:-v1.26.3}

# set up default driver, use hyperkit for mac
if [ "$(uname)" == "Darwin" ]; then

DRIVER=${1:-hyperkit}
DRIVER=${DRIVER:-hyperkit}
echo "Using driver: $DRIVER"
# for mac, if driver is docker, set up proxy
if [ ${DRIVER} == "docker" ]; then
EXTRA_CONFIG="--extra-config=apiserver.service-node-port-range=32700-32800 --ports=127.0.0.1:32700-32800:32700-32800"
fi

else
DRIVER=${1:-docker}
DRIVER=${DRIVER:-docker}
fi


Expand Down