Skip to content

Commit

Permalink
Update Kind config to latest 1.29
Browse files Browse the repository at this point in the history
  • Loading branch information
camilamacedo86 committed Apr 6, 2024
1 parent a7f6e03 commit b5a925a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 33 deletions.
5 changes: 3 additions & 2 deletions test/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function convert_to_tools_ver {
"1.26") echo "1.26.0";;
"1.27") echo "1.27.1";;
"1.28") echo "1.28.3";;
"1.29") echo "1.29.0";;
*)
echo "k8s version $k8s_ver not supported"
exit 1
Expand All @@ -50,9 +51,9 @@ if [ -n "$TRACE" ]; then
set -x
fi

export KIND_K8S_VERSION="${KIND_K8S_VERSION:-"v1.28.0"}"
export KIND_K8S_VERSION="${KIND_K8S_VERSION:-"v1.29.0"}"
tools_k8s_version=$(convert_to_tools_ver "${KIND_K8S_VERSION#v*}")
kind_version=0.20.0
kind_version=0.22.0
goarch=amd64

if [[ "$OSTYPE" == "linux-gnu" ]]; then
Expand Down
30 changes: 0 additions & 30 deletions test/e2e/kind-config-v1.18.yaml

This file was deleted.

1 change: 0 additions & 1 deletion test/e2e/kind-config-v1.19.yaml

This file was deleted.

13 changes: 13 additions & 0 deletions test/e2e/kind-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,17 @@

kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
kubeadmConfigPatches:
- |
kind: ClusterConfiguration
metadata:
name: config
apiServer:
extraArgs:
"service-account-signing-key-file": /etc/kubernetes/pki/sa.key
"service-account-key-file": /etc/kubernetes/pki/sa.pub
"service-account-issuer": api
"service-account-api-audiences": api,vault,factors

0 comments on commit b5a925a

Please sign in to comment.